Changeset 98867


Ignore:
Timestamp:
Oct 19, 2012, 7:37:59 AM (8 years ago)
Author:
jmr@…
Message:

doc-new: remove PDF in "make clean", and add some documentation regarding dblatex (#35999)

Location:
trunk/doc-new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/Makefile

    r97454 r98867  
    33# Makefile to generate the MacPorts HTML guide and the man pages.
    44# The ports 'docbook-xsl', 'docbook-xml' and 'libxslt' have to be installed.
     5# For the guide-dblatex target, the 'dblatex' port is also required.
    56
    67# If your MacPorts isn't installed in /opt/local you have to change PREFIX
     
    5758.PHONY: all guide guide-chunked guide-dblatex man clean validate
    5859
    59 all: guide guide-chunked guide-dblatex man
     60all: guide guide-chunked man
    6061
    6162# Generate the HTML guide using DocBook from the XML sources in $(GUIDE_SRC).
     
    112113        $(TCLSH) toc-for-chunked.tcl $(GUIDE_RESULT_CHUNK)
    113114
     115# Generate the guide as a PDF.
    114116guide-dblatex: SUFFIX = pdf
    115117guide-dblatex:
     
    158160        $(RM) -rf $(GUIDE)/resources/xsl
    159161        $(RM) -rf $(GUIDE_RESULT)
     162        $(RM) -rf $(GUIDE_RESULT_DBLATEX)
    160163        $(RM) -rf $(MAN_RESULT)
    161164        $(RM) -rf $(MAN_TMP)
  • trunk/doc-new/README

    r32166 r98867  
    33To generate it you have to checkout the whole "trunk/doc-new" directory and
    44you 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 change
    6 this setup.
     5installation isn't in /opt/local, edit or override the PREFIX Makefile
     6variable.
    77
    88To generate the guide and the man pages just use "make" in this directory.
    99Then they are generated in guide/html and man/man.
     10
     11To generate a PDF version of the guide, use "make guide-dblatex". This
     12requires the "dblatex" port.
Note: See TracChangeset for help on using the changeset viewer.