2002-08-16 09:02:24 +00:00
|
|
|
ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@
|
2002-03-27 11:21:50 +00:00
|
|
|
|
2002-08-21 10:50:10 +00:00
|
|
|
|
2002-03-27 11:21:50 +00:00
|
|
|
SRC := $(wildcard *.t)
|
|
|
|
OBJS := $(SRC:%.t=%.html)
|
2002-08-16 08:33:17 +00:00
|
|
|
TXT2PLAIN = ../txt2plain.pl
|
2002-03-27 11:21:50 +00:00
|
|
|
|
2002-08-21 10:50:10 +00:00
|
|
|
# This is correct. It does point to ../../docs but we need a different
|
|
|
|
# name so that the directories don't collide.
|
|
|
|
DOCS = ../docs_
|
|
|
|
|
2002-03-27 11:21:50 +00:00
|
|
|
all: $(OBJS)
|
|
|
|
|
2002-08-16 09:02:24 +00:00
|
|
|
faq.html: faq.t faq.raw $(TXT2PLAIN)
|
2002-08-16 08:33:17 +00:00
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-08-21 10:50:10 +00:00
|
|
|
faq.raw: $(DOCS)/FAQ $(TXT2PLAIN)
|
2002-08-16 08:33:17 +00:00
|
|
|
$(TXT2PLAIN) < $< > $@
|
|
|
|
|
2002-08-21 10:57:25 +00:00
|
|
|
battery-faq.raw: $(DOCS)/BATTERY-FAQ $(TXT2PLAIN)
|
2002-08-19 18:00:37 +00:00
|
|
|
$(TXT2PLAIN) < $< > $@
|
|
|
|
|
2002-08-21 10:57:25 +00:00
|
|
|
battery-faq.html: battery-faq.t battery-faq.raw $(TXT2PLAIN)
|
2002-08-19 18:00:37 +00:00
|
|
|
$(ACTION) $<
|
2002-08-16 08:33:17 +00:00
|
|
|
|
2002-03-27 11:21:50 +00:00
|
|
|
%.html : %.t
|
|
|
|
$(ACTION) $<
|