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-22 03:36:49 +00:00
|
|
|
|
|
|
|
FAQ2HTML = ../faq2html.pl
|
|
|
|
TXT2HTML = ../txt2html.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-22 03:36:49 +00:00
|
|
|
faq.raw: $(DOCS)/FAQ $(FAQ2HTML)
|
|
|
|
$(FAQ2HTML) < $< > $@
|
2002-08-16 08:33:17 +00:00
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
faq.html: faq.t faq.raw $(FAQ2HTML)
|
2002-08-22 02:59:13 +00:00
|
|
|
$(ACTION) $<
|
|
|
|
|
2003-01-16 16:09:49 +00:00
|
|
|
nodo.raw: $(DOCS)/NODO $(FAQ2HTML)
|
|
|
|
$(FAQ2HTML) < $< > $@
|
|
|
|
|
|
|
|
nodo.html: nodo.t nodo.raw $(FAQ2HTML)
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
battery-faq.raw: $(DOCS)/BATTERY-FAQ $(FAQ2HTML)
|
|
|
|
$(FAQ2HTML) < $< > $@
|
2002-08-19 18:00:37 +00:00
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
battery-faq.html: battery-faq.t battery-faq.raw $(FAQ2HTML)
|
2002-08-19 18:00:37 +00:00
|
|
|
$(ACTION) $<
|
2002-08-16 08:33:17 +00:00
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2HTML)
|
|
|
|
$(TXT2HTML) < $< > $@
|
2002-08-21 11:18:54 +00:00
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
contributing.html: contributing.t contributing.raw $(TXT2HTML)
|
2002-08-21 11:18:54 +00:00
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2HTML)
|
|
|
|
$(TXT2HTML) < $< > $@
|
2002-08-22 02:59:13 +00:00
|
|
|
|
2002-08-22 03:36:49 +00:00
|
|
|
custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2HTML)
|
2002-08-22 02:59:13 +00:00
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-10-11 12:15:49 +00:00
|
|
|
custom_cfg_format.raw: $(DOCS)/CUSTOM_CFG_FORMAT $(TXT2HTML)
|
|
|
|
$(TXT2HTML) < $< > $@
|
|
|
|
|
|
|
|
custom_cfg_format.html: custom_cfg_format.t custom_cfg_format.raw $(TXT2HTML)
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-08-27 16:11:04 +00:00
|
|
|
how_to_compile.raw: $(DOCS)/README $(TXT2HTML)
|
|
|
|
$(TXT2HTML) < $< > $@
|
|
|
|
|
|
|
|
how_to_compile.html: how_to_compile.t how_to_compile.raw $(TXT2HTML)
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2003-02-20 19:35:33 +00:00
|
|
|
credits.raw: $(DOCS)/CREDITS $(TXT2HTML)
|
|
|
|
$(TXT2HTML) < $< > $@
|
|
|
|
|
|
|
|
credits.html: credits.t credits.raw $(TXT2HTML)
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-03-27 11:21:50 +00:00
|
|
|
%.html : %.t
|
|
|
|
$(ACTION) $<
|