summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/docs/Makefile8
-rw-r--r--www/docs/faq.t8
2 files changed, 16 insertions, 0 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile
index 751a62f..78f34a6 100644
--- a/www/docs/Makefile
+++ b/www/docs/Makefile
@@ -2,8 +2,16 @@ ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C
SRC := $(wildcard *.t)
OBJS := $(SRC:%.t=%.html)
+TXT2PLAIN = ../txt2plain.pl
all: $(OBJS)
+faq.html: faq.t $(MAINPARTS) faq.raw
+ $(ACTION) $<
+
+faq.raw: FAQ
+ $(TXT2PLAIN) < $< > $@
+
+
%.html : %.t
$(ACTION) $<
diff --git a/www/docs/faq.t b/www/docs/faq.t
new file mode 100644
index 0000000..87c8186
--- /dev/null
+++ b/www/docs/faq.t
@@ -0,0 +1,8 @@
+#define _PAGE_ FAQ - Frequently Asked Questions
+#include "head.t"
+
+<pre>
+#include "faq.raw"
+</pre>
+
+#include "foot.t"