5d0850a371
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1811 a1c6a512-1295-4272-9138-f99709370657
22 lines
441 B
Makefile
22 lines
441 B
Makefile
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
|
|
|
|
all: $(OBJS)
|
|
|
|
faq.html: faq.t faq.raw $(TXT2PLAIN)
|
|
$(ACTION) $<
|
|
|
|
faq.raw: FAQ $(TXT2PLAIN)
|
|
$(TXT2PLAIN) < $< > $@
|
|
|
|
battery.raw: BATTERY $(TXT2PLAIN)
|
|
$(TXT2PLAIN) < $< > $@
|
|
|
|
battery.html: battery.t battery.raw $(TXT2PLAIN)
|
|
$(ACTION) $<
|
|
|
|
%.html : %.t
|
|
$(ACTION) $<
|