diff options
author | Robert Hak <adiamas@rockbox.org> | 2002-08-22 03:36:49 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2002-08-22 03:36:49 +0000 |
commit | a27f5d7bd1b14b432e7307af5beee7deb5cb4b70 (patch) | |
tree | e7cf718721c783d834f3ca247d237ab8b72cdfd8 /www | |
parent | 05256598779d10a331972941c80cf502770de44d (diff) | |
download | rockbox-a27f5d7bd1b14b432e7307af5beee7deb5cb4b70.tar.gz rockbox-a27f5d7bd1b14b432e7307af5beee7deb5cb4b70.zip |
faqs and plain txt are now handled differently
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www')
-rw-r--r-- | www/docs/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
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 | |||
3 | 3 | ||
4 | SRC := $(wildcard *.t) | 4 | SRC := $(wildcard *.t) |
5 | OBJS := $(SRC:%.t=%.html) | 5 | OBJS := $(SRC:%.t=%.html) |
6 | TXT2PLAIN = ../txt2plain.pl | 6 | |
7 | FAQ2HTML = ../faq2html.pl | ||
8 | TXT2HTML = ../txt2html.pl | ||
7 | 9 | ||
8 | # This is correct. It does point to ../../docs but we need a different | 10 | # This is correct. It does point to ../../docs but we need a different |
9 | # name so that the directories don't collide. | 11 | # name so that the directories don't collide. |
@@ -11,28 +13,28 @@ DOCS = ../docs_ | |||
11 | 13 | ||
12 | all: $(OBJS) | 14 | all: $(OBJS) |
13 | 15 | ||
14 | faq.raw: $(DOCS)/FAQ $(TXT2PLAIN) | 16 | faq.raw: $(DOCS)/FAQ $(FAQ2HTML) |
15 | $(TXT2PLAIN) < $< > $@ | 17 | $(FAQ2HTML) < $< > $@ |
16 | 18 | ||
17 | faq.html: faq.t faq.raw $(TXT2PLAIN) | 19 | faq.html: faq.t faq.raw $(FAQ2HTML) |
18 | $(ACTION) $< | 20 | $(ACTION) $< |
19 | 21 | ||
20 | battery-faq.raw: $(DOCS)/BATTERY-FAQ $(TXT2PLAIN) | 22 | battery-faq.raw: $(DOCS)/BATTERY-FAQ $(FAQ2HTML) |
21 | $(TXT2PLAIN) < $< > $@ | 23 | $(FAQ2HTML) < $< > $@ |
22 | 24 | ||
23 | battery-faq.html: battery-faq.t battery-faq.raw $(TXT2PLAIN) | 25 | battery-faq.html: battery-faq.t battery-faq.raw $(FAQ2HTML) |
24 | $(ACTION) $< | 26 | $(ACTION) $< |
25 | 27 | ||
26 | contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2PLAIN) | 28 | contributing.raw: $(DOCS)/CONTRIBUTING $(TXT2HTML) |
27 | $(TXT2PLAIN) < $< > $@ | 29 | $(TXT2HTML) < $< > $@ |
28 | 30 | ||
29 | contributing.html: contributing.t contributing.raw $(TXT2PLAIN) | 31 | contributing.html: contributing.t contributing.raw $(TXT2HTML) |
30 | $(ACTION) $< | 32 | $(ACTION) $< |
31 | 33 | ||
32 | custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2PLAIN) | 34 | custom_wps_format.raw: $(DOCS)/CUSTOM_WPS_FORMAT $(TXT2HTML) |
33 | $(TXT2PLAIN) < $< > $@ | 35 | $(TXT2HTML) < $< > $@ |
34 | 36 | ||
35 | custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2PLAIN) | 37 | custom_wps_format.html: custom_wps_format.t custom_wps_format.raw $(TXT2HTML) |
36 | $(ACTION) $< | 38 | $(ACTION) $< |
37 | 39 | ||
38 | %.html : %.t | 40 | %.html : %.t |