1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
# This makefile creates the documentation directory
# AUTOMAKE_OPTIONS = no-dependencies
# obsolete manuals: quickref.pdf quickref.ps lifelines.sgml
MANUALSSRC = ll-reportmanual.xml ll-userguide.xml
MANUALS_en = ll-reportmanual.html ll-reportmanual.pdf \
ll-reportmanual.txt listops.jpg \
ll-userguide.html ll-userguide.pdf \
ll-userguide.txt
MANUALS_sv = ll-reportmanual.sv.html ll-userguide.sv.html
MANUALS = $(MANUALS_en) $(MANUALS_sv)
MANPAGES = btedit.1 dbverify.1 llines.1
OLDGENFILES = lifelines.html lifelines.pdf lifelines.ps lifelines.txt
EXTRA_DIST = $(MANUALSSRC) $(MANUALS) $(MANPAGES)
CONFIG_CLEAN_FILES = $(OLDGENFILES) $(MANUALS)
docdir = $(datadir)/doc/lifelines
doc_DATA = $(EXTRA_DIST)
dist_pkgdata_DATA = $(MANUALS)
# sensible values: empty, simple, fancy
all: @DOCS_TARGET@
text: lifelines.txt
pdb: lifelines.pdb
html: lifelines.html
simple: text html
ps: lifelines.ps
pdf: lifelines.pdf
fancy: ps pdf # pdb
# Simple Formats
lifelines.txt: lifelines.sgml
sgmltools --backend=txt $^
lifelines.html: lifelines.sgml
sgmltools --backend=onehtml $^
lifelines.pdb: lifelines.html
rm -f $@
isilo386 -Is156 -Ic -Id -d0 $^
# Fancy Formats
lifelines.ps: lifelines.sgml
sgmltools --backend=ps $^
lifelines.pdf: lifelines.ps
ps2pdf $^ $@
%.pdf: %.xml
-jw -f docbook -b pdf $^
%.html: %.xml
-jw -f docbook -b html -V nochunks $^
%.txt: %.html
if [ -f /usr/bin/lynx ] ; then \
/usr/bin/lynx -force_html -dump -nolist -width=76 $^ > $@ ;\
fi
|