Changeset baa09cc


Ignore:
Timestamp:
2015-05-17T03:41:41Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
beb0f54
Parents:
ad678a4
Message:

Build only help.txt (with genhelp.py), create 'user-guide' target

Since user-guide.{txt,html} aren't normally needed for anything and add
xsltproc/xmlto as dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/Makefile

    rad678a4 rbaa09cc  
    44endif
    55
    6 EXTRAPARANEWLINE = 1
    7 # EXTRAPARANEWLINE = 0
     6all: help.txt
    87
    9 all: user-guide.txt user-guide.html help.txt # user-guide.pdf user-guide.ps user-guide.rtf
     8user-guide: user-guide.txt user-guide.html # user-guide.pdf user-guide.ps user-guide.rtf
    109
    1110%.tex: %.db.xml
     
    3332
    3433help.txt: help.xml help.xsl commands.xml misc.xml quickstart.xml
    35         xsltproc --stringparam extraparanewline "$(EXTRAPARANEWLINE)" --xinclude help.xsl $< | perl -0077 -pe 's/\n\n%/\n%/s; s/_b_/\002/g;' > $@
     34        python genhelp.py $< $@
    3635
    3736clean:
     
    4847        -rmdir $(DESTDIR)$(DATADIR)
    4948
    50 .PHONY: clean install uninstall
     49.PHONY: clean install uninstall user-guide
Note: See TracChangeset for help on using the changeset viewer.