[oe-commits] org.oe.documentation usermanual: Modify the makefile so that "make xhtml" will generate filenames
lenehan commit
openembedded-commits at lists.openembedded.org
Mon Jan 15 02:02:57 UTC 2007
usermanual: Modify the makefile so that "make xhtml" will generate filenames
using section/chapter id's rather than using section/chapter numbers. This
should result in the URL's pointint into the manual remaing constant even
when chapters and sections are added and/or deleted.
Author: lenehan at openembedded.org
Branch: org.openembedded.documentation
Revision: e5a3dda43ac26033b1548d38502b83e114288be9
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e5a3dda43ac26033b1548d38502b83e114288be9
Files:
1
usermanual/Makefile
Diffs:
#
# mt diff -reeca2f5005e01cdc47c710b6f2e08b6d0bcb453c -re5a3dda43ac26033b1548d38502b83e114288be9
#
#
#
# patch "usermanual/Makefile"
# from [0a2989036c17ebde6381a8b0bcec7c82862c5119]
# to [14f2cf7f22c8363842614ac84c4ddfef8274b08b]
#
============================================================
--- usermanual/Makefile 0a2989036c17ebde6381a8b0bcec7c82862c5119
+++ usermanual/Makefile 14f2cf7f22c8363842614ac84c4ddfef8274b08b
@@ -42,7 +42,7 @@ endif
ifdef htmlcss
$(call command,install -m 0644 $(htmlcss) $@/$(htmlcssfile),CP $(htmlcss) $@/$(htmlcssfile))
endif
- $(call command,xsltproc --stringparam base.dir $@/ $(if $(htmlcssfile),--stringparam html.stylesheet $(htmlcssfile)) $(htmlxsl) $(manual),XSLTPROC $@ $(manual))
+ $(call command,xsltproc --param use.id.as.filename 1 --stringparam base.dir $@/ $(if $(htmlcssfile),--stringparam html.stylesheet $(htmlcssfile)) $(htmlxsl) $(manual),XSLTPROC $@ $(manual))
$(xmltotypes): $(manual)
$(call command,xmlto --extensions -o $(topdir)/$@ $@ $(manual),XMLTO $@ $(manual))
More information about the Openembedded-commits
mailing list