diff options
Diffstat (limited to 'www/docs')
-rw-r--r-- | www/docs/Makefile | 8 | ||||
-rw-r--r-- | www/docs/faq.t | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile index 751a62f256..78f34a6f6d 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 | |||
2 | 2 | ||
3 | SRC := $(wildcard *.t) | 3 | SRC := $(wildcard *.t) |
4 | OBJS := $(SRC:%.t=%.html) | 4 | OBJS := $(SRC:%.t=%.html) |
5 | TXT2PLAIN = ../txt2plain.pl | ||
5 | 6 | ||
6 | all: $(OBJS) | 7 | all: $(OBJS) |
7 | 8 | ||
9 | faq.html: faq.t $(MAINPARTS) faq.raw | ||
10 | $(ACTION) $< | ||
11 | |||
12 | faq.raw: FAQ | ||
13 | $(TXT2PLAIN) < $< > $@ | ||
14 | |||
15 | |||
8 | %.html : %.t | 16 | %.html : %.t |
9 | $(ACTION) $< | 17 | $(ACTION) $< |
diff --git a/www/docs/faq.t b/www/docs/faq.t new file mode 100644 index 0000000000..87c81860a6 --- /dev/null +++ b/www/docs/faq.t | |||
@@ -0,0 +1,8 @@ | |||
1 | #define _PAGE_ FAQ - Frequently Asked Questions | ||
2 | #include "head.t" | ||
3 | |||
4 | <pre> | ||
5 | #include "faq.raw" | ||
6 | </pre> | ||
7 | |||
8 | #include "foot.t" | ||