summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-08-21 10:50:10 +0000
committerRobert Hak <adiamas@rockbox.org>2002-08-21 10:50:10 +0000
commit370128fc45ecb5448936a624d4ead75b21ba1f26 (patch)
tree71816b94ced68695dfcdf7796e457279a0fde588
parent4b12d882bf720e2ac6c2775fc1194d4836c1f3db (diff)
downloadrockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.tar.gz
rockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.zip
reference the ../../docs directory (as ../docs_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1859 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--www/docs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile
index 0c3a99f74c..2f0ba7c0b4 100644
--- a/www/docs/Makefile
+++ b/www/docs/Makefile
@@ -1,18 +1,23 @@
1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@ 1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@
2 2
3
3SRC := $(wildcard *.t) 4SRC := $(wildcard *.t)
4OBJS := $(SRC:%.t=%.html) 5OBJS := $(SRC:%.t=%.html)
5TXT2PLAIN = ../txt2plain.pl 6TXT2PLAIN = ../txt2plain.pl
6 7
8# This is correct. It does point to ../../docs but we need a different
9# name so that the directories don't collide.
10DOCS = ../docs_
11
7all: $(OBJS) 12all: $(OBJS)
8 13
9faq.html: faq.t faq.raw $(TXT2PLAIN) 14faq.html: faq.t faq.raw $(TXT2PLAIN)
10 $(ACTION) $< 15 $(ACTION) $<
11 16
12faq.raw: FAQ $(TXT2PLAIN) 17faq.raw: $(DOCS)/FAQ $(TXT2PLAIN)
13 $(TXT2PLAIN) < $< > $@ 18 $(TXT2PLAIN) < $< > $@
14 19
15battery.raw: BATTERY $(TXT2PLAIN) 20battery.raw: $(DOCS)/BATTERY $(TXT2PLAIN)
16 $(TXT2PLAIN) < $< > $@ 21 $(TXT2PLAIN) < $< > $@
17 22
18battery.html: battery.t battery.raw $(TXT2PLAIN) 23battery.html: battery.t battery.raw $(TXT2PLAIN)