diff options
| author | Robert Hak <adiamas@rockbox.org> | 2002-08-21 10:50:10 +0000 |
|---|---|---|
| committer | Robert Hak <adiamas@rockbox.org> | 2002-08-21 10:50:10 +0000 |
| commit | 370128fc45ecb5448936a624d4ead75b21ba1f26 (patch) | |
| tree | 71816b94ced68695dfcdf7796e457279a0fde588 | |
| parent | 4b12d882bf720e2ac6c2775fc1194d4836c1f3db (diff) | |
| download | rockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.zip rockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.tar.gz rockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.tar.bz2 rockbox-370128fc45ecb5448936a624d4ead75b21ba1f26.tar.xz | |
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/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/docs/Makefile b/www/docs/Makefile index 0c3a99f..2f0ba7c 100644 --- a/www/docs/Makefile +++ b/www/docs/Makefile @@ -1,18 +1,23 @@ ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -P -LL >$@ + SRC := $(wildcard *.t) OBJS := $(SRC:%.t=%.html) TXT2PLAIN = ../txt2plain.pl +# This is correct. It does point to ../../docs but we need a different +# name so that the directories don't collide. +DOCS = ../docs_ + all: $(OBJS) faq.html: faq.t faq.raw $(TXT2PLAIN) $(ACTION) $< -faq.raw: FAQ $(TXT2PLAIN) +faq.raw: $(DOCS)/FAQ $(TXT2PLAIN) $(TXT2PLAIN) < $< > $@ -battery.raw: BATTERY $(TXT2PLAIN) +battery.raw: $(DOCS)/BATTERY $(TXT2PLAIN) $(TXT2PLAIN) < $< > $@ battery.html: battery.t battery.raw $(TXT2PLAIN) |