From 0dfb0bb1c04523a42a9ce3e6da054ba951caa17b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Aug 2002 08:33:17 +0000 Subject: generate a more HTMLish faq page git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1775 a1c6a512-1295-4272-9138-f99709370657 --- www/docs/Makefile | 8 ++++++++ www/docs/faq.t | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 www/docs/faq.t (limited to 'www') 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 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 0000000000..87c81860a6 --- /dev/null +++ b/www/docs/faq.t @@ -0,0 +1,8 @@ +#define _PAGE_ FAQ - Frequently Asked Questions +#include "head.t" + +
+#include "faq.raw"
+
+ +#include "foot.t" -- cgit v1.2.3