git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NMAPI.xml now includes a section including and example using the nm-controller
[nodemanager.git]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
4308fac
..
0a90055
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-7,17
+7,21
@@
# $Id: Makefile,v 1.2 2006/11/03 20:36:05 thierry Exp $
#
# $Id: Makefile,v 1.2 2006/11/03 20:36:05 thierry Exp $
#
-all: NMAPI.html
+all: NMAPI.html
end
.NMAPI.xml.valid: Methods.xml
Methods.xml: DocBook.py ../api_calls.py
.NMAPI.xml.valid: Methods.xml
Methods.xml: DocBook.py ../api_calls.py
- PYTHONPATH=..:../../PLCAPI python $< > $@
+ PYTHONPATH=..:../../
../
PLCAPI python $< > $@
#
# Documentation
#
#
# Documentation
#
+# TODO: figure out where to put this command to strip out the unnecessary bits for PlanetLab Drupal page:
+end:
+ awk 'BEGIN { print "</DIV" } {n++; if ( n > 29 && $$0 != "></BODY" && $$0 != "></HTML" ) { print $$0 } }' NMAPI.html > out.html
+
# Validate the XML
.%.xml.valid: %.xml
xmllint --valid --output $@ $<
# Validate the XML
.%.xml.valid: %.xml
xmllint --valid --output $@ $<