aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/Makefile
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2009-02-18 20:59:44 (GMT)
committerJim Ramsay <i.am@jimramsay.com>2009-05-26 20:16:07 (GMT)
commit54ee631cd815006fe918b7fac69e754df8cf06d1 (patch)
tree9bab7e9b3d3c2b0e699f23bc6571f5f62a808950 /doc/asciidoc/Makefile
parente1018645da345b6c37d39922dbd1ffc41caa8fe9 (diff)
downloadfluxbox-54ee631cd815006fe918b7fac69e754df8cf06d1.zip
fluxbox-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/Makefile11
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 @@
5SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt 5SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt
6SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt 6SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt
7 7
8MAN = $(SRC1:.txt=.1.in) $(SRC5:.txt=.5.in) 8MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5)
9MANdotIN = $(addsuffix .in,$(MAN))
10DISTFILES = $(addprefix ../,$(MANdotIN))
9 11
10all: $(MAN) 12all: $(MAN)
11 13
12install-above: all 14dist: $(DISTFILES)
13 cp $(MAN) ../
14 15
15clean: 16clean:
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