summaryrefslogtreecommitdiffstats
path: root/c_user
diff options
context:
space:
mode:
authorAmar Takhar <amar@rtems.org>2016-01-19 00:27:45 -0500
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:24 -0400
commit9b5801a6e6c80379b79a799a9484cfefb4cebec3 (patch)
tree25e3547fd647701b03cc2bab4164bfeb29e2dc64 /c_user
parent0abc59dffc7ae747bd6bf1d47ba11b80e347e7c9 (diff)
downloadrtems-docs-9b5801a6e6c80379b79a799a9484cfefb4cebec3.tar.bz2
Add PDF generation support use with --pdf
Diffstat (limited to 'c_user')
-rw-r--r--c_user/conf.py12
-rw-r--r--c_user/wscript7
2 files changed, 13 insertions, 6 deletions
diff --git a/c_user/conf.py b/c_user/conf.py
new file mode 100644
index 0000000..7956468
--- /dev/null
+++ b/c_user/conf.py
@@ -0,0 +1,12 @@
+import sys, os
+sys.path.append(os.path.abspath('../common/'))
+
+from conf import *
+
+version = '1.0'
+release = '5.0'
+
+latex_documents = [
+ ('index', 'c_user.tex', u'RTEMS C User Documentation', u'RTEMS Documentation Project', 'manual'),
+]
+
diff --git a/c_user/wscript b/c_user/wscript
index 0565c4b..8d66b28 100644
--- a/c_user/wscript
+++ b/c_user/wscript
@@ -2,10 +2,5 @@ from sys import path
from os.path import abspath
path.append(abspath('../common/'))
-from waf import cmd_configure, cmd_build, spell, cmd_spell
+from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
-def configure(ctx):
- cmd_configure(ctx)
-
-def build(ctx):
- cmd_build(ctx)