summaryrefslogtreecommitdiffstats
path: root/freebsd-to-rtems.py
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-09 10:21:17 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-09 10:21:17 -0600
commit8f5adbc097efee4d1877d568b6772c7352978487 (patch)
treebc92f39bd40bb08a575139df58236c211a5b1e4a /freebsd-to-rtems.py
parentAdd other architecture specific in_cksum routines (diff)
downloadrtems-libbsd-8f5adbc097efee4d1877d568b6772c7352978487.tar.bz2
Initial addition of documentation
Diffstat (limited to 'freebsd-to-rtems.py')
-rwxr-xr-xfreebsd-to-rtems.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index c6918063..d056ad6b 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -410,8 +410,15 @@ class ModuleManager:
'clean:\n' \
'\trm -f -r $(PROJECT_INCLUDE)/rtems/freebsd\n' \
'\trm -f $(LIB) $(C_O_FILES) $(C_DEP_FILES)\n' \
+ '\trm -f libbsd.html\n' \
'\n' \
- '-include $(C_DEP_FILES)\n'
+ '-include $(C_DEP_FILES)\n' \
+ '\n' \
+ 'doc: libbsd.html\n' \
+ '\n' \
+ 'libbsd.html: libbsd.txt\n' \
+ '\tasciidoc -o libbsd.html libbsd.txt\n'
+
out = open(tempFile, 'w')
out.write(data)
out.close()