diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-02-18 20:59:44 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-26 20:16:07 (GMT) |
commit | 54ee631cd815006fe918b7fac69e754df8cf06d1 (patch) | |
tree | 9bab7e9b3d3c2b0e699f23bc6571f5f62a808950 /doc/asciidoc/Makefile | |
parent | e1018645da345b6c37d39922dbd1ffc41caa8fe9 (diff) | |
download | fluxbox_paul-54ee631cd815006fe918b7fac69e754df8cf06d1.zip fluxbox_paul-54ee631cd815006fe918b7fac69e754df8cf06d1.tar.bz2 |
Added new 'make dist' target for ease in updating the manuals
Diffstat (limited to 'doc/asciidoc/Makefile')
-rw-r--r-- | doc/asciidoc/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/asciidoc/Makefile b/doc/asciidoc/Makefile index 5561a4a..666d437 100644 --- a/doc/asciidoc/Makefile +++ b/doc/asciidoc/Makefile | |||
@@ -5,12 +5,13 @@ | |||
5 | SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt | 5 | SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt |
6 | SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt | 6 | SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt |
7 | 7 | ||
8 | MAN = $(SRC1:.txt=.1.in) $(SRC5:.txt=.5.in) | 8 | MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5) |
9 | MANdotIN = $(addsuffix .in,$(MAN)) | ||
10 | DISTFILES = $(addprefix ../,$(MANdotIN)) | ||
9 | 11 | ||
10 | all: $(MAN) | 12 | all: $(MAN) |
11 | 13 | ||
12 | install-above: all | 14 | dist: $(DISTFILES) |
13 | cp $(MAN) ../ | ||
14 | 15 | ||
15 | clean: | 16 | clean: |
16 | rm -fv $(MAN) | 17 | rm -fv $(MAN) |
@@ -21,10 +22,10 @@ clean: | |||
21 | %.5 : %.xml | 22 | %.5 : %.xml |
22 | xmlto man $< | 23 | xmlto man $< |
23 | 24 | ||
24 | %.1.in: %.1 | 25 | ../%.1.in: %.1 |
25 | cp $< $@ | 26 | cp $< $@ |
26 | 27 | ||
27 | %.5.in: %.5 | 28 | ../%.5.in: %.5 |
28 | cp $< $@ | 29 | cp $< $@ |
29 | 30 | ||
30 | %.xml : %.txt | 31 | %.xml : %.txt |