Changeset 98867
- Timestamp:
- Oct 19, 2012, 7:37:59 AM (12 years ago)
- Location:
- trunk/doc-new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc-new/Makefile
r97454 r98867 3 3 # Makefile to generate the MacPorts HTML guide and the man pages. 4 4 # The ports 'docbook-xsl', 'docbook-xml' and 'libxslt' have to be installed. 5 # For the guide-dblatex target, the 'dblatex' port is also required. 5 6 6 7 # If your MacPorts isn't installed in /opt/local you have to change PREFIX … … 57 58 .PHONY: all guide guide-chunked guide-dblatex man clean validate 58 59 59 all: guide guide-chunked guide-dblatexman60 all: guide guide-chunked man 60 61 61 62 # Generate the HTML guide using DocBook from the XML sources in $(GUIDE_SRC). … … 112 113 $(TCLSH) toc-for-chunked.tcl $(GUIDE_RESULT_CHUNK) 113 114 115 # Generate the guide as a PDF. 114 116 guide-dblatex: SUFFIX = pdf 115 117 guide-dblatex: … … 158 160 $(RM) -rf $(GUIDE)/resources/xsl 159 161 $(RM) -rf $(GUIDE_RESULT) 162 $(RM) -rf $(GUIDE_RESULT_DBLATEX) 160 163 $(RM) -rf $(MAN_RESULT) 161 164 $(RM) -rf $(MAN_TMP) -
trunk/doc-new/README
r32166 r98867 3 3 To generate it you have to checkout the whole "trunk/doc-new" directory and 4 4 you need the "docbook-xsl", "docbook-xml" and "libxslt" ports. If your port 5 installation isn't in /opt/local look at "Makefile" how you have to change6 this setup.5 installation isn't in /opt/local, edit or override the PREFIX Makefile 6 variable. 7 7 8 8 To generate the guide and the man pages just use "make" in this directory. 9 9 Then they are generated in guide/html and man/man. 10 11 To generate a PDF version of the guide, use "make guide-dblatex". This 12 requires the "dblatex" port.
Note: See TracChangeset
for help on using the changeset viewer.