Last change
on this file since 6e68a52 was
89a1809,
checked in by Wilmer van der Gaast <wilmer@…>, at 2006-07-14T18:27:02Z
|
More documentation updates: Added a Scope: line for every setting (for
per-account and global settings) and leaving out the Default: line when
there is no default specified in XML (like with the display_name setting).
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | -include ../../Makefile.settings |
---|
2 | EXTRAPARANEWLINE = 1 |
---|
3 | # EXTRAPARANEWLINE = 0 |
---|
4 | |
---|
5 | all: user-guide.txt user-guide.html help.txt # user-guide.pdf user-guide.ps user-guide.rtf |
---|
6 | |
---|
7 | %.tex: %.db.xml |
---|
8 | xsltproc --stringparam l10n.gentext.default.language "en" --stringparam latex.documentclass.common "" --stringparam latex.babel.language "" --output $@ http://db2latex.sourceforge.net/xsl/docbook.xsl $< |
---|
9 | |
---|
10 | %.txt: %.db.xml |
---|
11 | xmlto --skip-validation txt $< |
---|
12 | mv $*.db.txt $@ |
---|
13 | |
---|
14 | %.html: %.db.xml |
---|
15 | xsltproc --output $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< |
---|
16 | |
---|
17 | %.pdf: %.db.xml |
---|
18 | xmlto --skip-validation pdf $< |
---|
19 | mv $*.db.pdf $@ |
---|
20 | |
---|
21 | %.ps: %.db.xml |
---|
22 | xmlto --skip-validation ps $< |
---|
23 | mv $*.db.ps $@ |
---|
24 | |
---|
25 | help.xml: commands.xml |
---|
26 | |
---|
27 | %.db.xml: %.xml docbook.xsl |
---|
28 | xsltproc --xinclude --output $@ docbook.xsl $< |
---|
29 | |
---|
30 | help.txt: help.xml help.xsl commands.xml misc.xml quickstart.xml |
---|
31 | xsltproc --stringparam extraparanewline "$(EXTRAPARANEWLINE)" --xinclude help.xsl $< | perl -0077 -pe 's/\n\n%/\n%/s; s/_b_/\002/g;' > $@ |
---|
32 | |
---|
33 | clean: |
---|
34 | rm -f *.html *.pdf *.ps *.rtf *.txt *.db.xml |
---|
35 | |
---|
36 | install: |
---|
37 | mkdir -p $(DESTDIR)$(DATADIR) |
---|
38 | chmod 0755 $(DESTDIR)$(DATADIR) |
---|
39 | rm -f $(DESTDIR)$(DATADIR)/help.txt # Prevent help function from breaking in running sessions |
---|
40 | install -m 0644 help.txt $(DESTDIR)$(DATADIR)/help.txt |
---|
41 | |
---|
42 | uninstall: |
---|
43 | rm -f $(DESTDIR)$(DATADIR)/help.txt |
---|
44 | -rmdir $(DESTDIR)$(DATADIR) |
---|
45 | |
---|
46 | .PHONY: clean install uninstall |
---|
Note: See
TracBrowser
for help on using the repository browser.