2005-04-12 12:09:04 +00:00
|
|
|
ACTION=@echo preprocessing $@; \
|
2006-03-27 10:10:50 +00:00
|
|
|
fcpp -WWW -I.. -Uunix -H -C -V -LL $< $@
|
2005-04-10 22:38:40 +00:00
|
|
|
|
|
|
|
SRC := $(wildcard *.t)
|
|
|
|
OBJS := $(SRC:%.t=%.html)
|
|
|
|
|
|
|
|
all: $(OBJS) digest.rss digest.mail
|
|
|
|
|
2005-04-12 12:09:04 +00:00
|
|
|
digest.html: digest.t news.t digesthead.t log.t
|
2006-03-27 10:10:50 +00:00
|
|
|
$(ACTION)
|
|
|
|
|
|
|
|
index.html: index.t ../head.t news.t ../foot.t
|
2005-04-12 12:09:04 +00:00
|
|
|
|
2005-04-10 22:38:40 +00:00
|
|
|
%.html : %.t news.t digesthead.t log.t
|
2006-03-27 10:10:50 +00:00
|
|
|
$(ACTION)
|
2005-04-10 22:38:40 +00:00
|
|
|
|
|
|
|
digest.mail: mail.t log.t mailify.pl
|
2006-03-27 10:10:50 +00:00
|
|
|
@echo mailifying $@;
|
|
|
|
fcpp -WWW -DMAKE_MAIL -Uunix -P -H -C -V -LL $< digest.temp
|
2005-04-10 22:38:40 +00:00
|
|
|
./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 < $< >$@
|
|
|
|
|
|
|
|
|
|
|
|
|