From a27f5d7bd1b14b432e7307af5beee7deb5cb4b70 Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Thu, 22 Aug 2002 03:36:49 +0000 Subject: faqs and plain txt are now handled differently git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1912 a1c6a512-1295-4272-9138-f99709370657 --- www/docs/Makefile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'www/docs/Makefile') diff --git a/www/docs/Makefile b/www/docs/Makefile index dc91c41cc5..e78300d0ea 100644 --- a/www/docs/Makefile +++ b/www/docs/Makefile @@ -3,7 +3,9 @@ ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C SRC := $(wildcard *.t) OBJS := $(SRC:%.t=%.html) -TXT2PLAIN = ../txt2plain.pl + +FAQ2HTML = ../faq2html.pl +TXT2HTML = ../txt2html.pl # This is correct. It does point to ../../docs but we need a different # name so that the directories don't collide. @@ -11,28 +13,28 @@ DOCS = ../docs_ all: $(OBJS) -faq.raw: $(DOCS)/FAQ $(TXT2PLAIN) - $(TXT2PLAIN) < $< > $@ +faq.raw: $(DOCS)/FAQ $(FAQ2HTML) + $(FAQ2HTML) < $< > $@ -faq.html: faq.t faq.raw $(TXT2PLAIN) +faq.html: faq.t faq.raw $(FAQ2HTML) $(ACTION) $< -battery-faq.raw: $(DOCS)/BATTERY-FAQ $(TXT2PLAIN) - $(TXT2PLAIN) < $< > $@ +battery-faq.raw: $(DOCS)/BATTERY-FAQ $(FAQ2HTML) + $(FAQ2HTML) < $< > $@ -battery-faq.html: battery-faq.t battery-faq.raw $(TXT2PLAIN) +battery-faq.html: battery-faq.t battery-faq.raw $(FAQ2HTML) $(ACTION) $< -contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2PLAIN) - $(TXT2PLAIN) < $< > $@ +contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2HTML) + $(TXT2HTML) < $< > $@ -contributing.html: contributing.t contributing.raw $(TXT2PLAIN) +contributing.html: contributing.t contributing.raw $(TXT2HTML) $(ACTION) $< -custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2PLAIN) - $(TXT2PLAIN) < $< > $@ +custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2HTML) + $(TXT2HTML) < $< > $@ -custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2PLAIN) +custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2HTML) $(ACTION) $< %.html : %.t -- cgit v1.2.3