summaryrefslogtreecommitdiff
path: root/www/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/docs/Makefile')
-rw-r--r--www/docs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile
index 0c3a99f74c..2f0ba7c0b4 100644
--- a/www/docs/Makefile
+++ b/www/docs/Makefile
@@ -1,18 +1,23 @@
1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@ 1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@
2 2
3
3SRC := $(wildcard *.t) 4SRC := $(wildcard *.t)
4OBJS := $(SRC:%.t=%.html) 5OBJS := $(SRC:%.t=%.html)
5TXT2PLAIN = ../txt2plain.pl 6TXT2PLAIN = ../txt2plain.pl
6 7
8# This is correct. It does point to ../../docs but we need a different
9# name so that the directories don't collide.
10DOCS = ../docs_
11
7all: $(OBJS) 12all: $(OBJS)
8 13
9faq.html: faq.t faq.raw $(TXT2PLAIN) 14faq.html: faq.t faq.raw $(TXT2PLAIN)
10 $(ACTION) $< 15 $(ACTION) $<
11 16
12faq.raw: FAQ $(TXT2PLAIN) 17faq.raw: $(DOCS)/FAQ $(TXT2PLAIN)
13 $(TXT2PLAIN) < $< > $@ 18 $(TXT2PLAIN) < $< > $@
14 19
15battery.raw: BATTERY $(TXT2PLAIN) 20battery.raw: $(DOCS)/BATTERY $(TXT2PLAIN)
16 $(TXT2PLAIN) < $< > $@ 21 $(TXT2PLAIN) < $< > $@
17 22
18battery.html: battery.t battery.raw $(TXT2PLAIN) 23battery.html: battery.t battery.raw $(TXT2PLAIN)