rockbox/www/digest/Makefile
Björn Stenberg be10f54eec Various changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9279 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 10:10:50 +00:00

31 lines
675 B
Makefile

ACTION=@echo preprocessing $@; \
fcpp -WWW -I.. -Uunix -H -C -V -LL $< $@
SRC := $(wildcard *.t)
OBJS := $(SRC:%.t=%.html)
all: $(OBJS) digest.rss digest.mail
digest.html: digest.t news.t digesthead.t log.t
$(ACTION)
index.html: index.t ../head.t news.t ../foot.t
%.html : %.t news.t digesthead.t log.t
$(ACTION)
digest.mail: mail.t log.t mailify.pl
@echo mailifying $@;
fcpp -WWW -DMAKE_MAIL -Uunix -P -H -C -V -LL $< digest.temp
./mailify.pl < digest.temp > digest.mail
digest.rss: digest.t digesthead.t log.raw
@echo rssing $@;
@rm -f $@;
@fcpp -WWW -DMAKE_RSS -Uunix -P -H -C -V -LL >$@ $<
log.raw: log.t rssify.pl digesthead.t
./rssify.pl < $< >$@