diff options
Diffstat (limited to 'www/digest/Makefile')
-rw-r--r-- | www/digest/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www/digest/Makefile b/www/digest/Makefile new file mode 100644 index 0000000000..4e7b3ea696 --- /dev/null +++ b/www/digest/Makefile | |||
@@ -0,0 +1,26 @@ | |||
1 | ACTION=@echo preprocessing $@; rm -f $@; fcpp -WWW -I.. -Uunix -H -C -V -LL >$@ | ||
2 | |||
3 | SRC := $(wildcard *.t) | ||
4 | OBJS := $(SRC:%.t=%.html) | ||
5 | |||
6 | all: $(OBJS) digest.rss digest.mail | ||
7 | |||
8 | %.html : %.t news.t digesthead.t log.t | ||
9 | $(ACTION) $< | ||
10 | |||
11 | digest.mail: mail.t log.t mailify.pl | ||
12 | echo mailifying $@; | ||
13 | rm -f $@; | ||
14 | fcpp -WWW -DMAKE_MAIL -Uunix -P -H -C -V -LL >digest.temp $< | ||
15 | ./mailify.pl < digest.temp > digest.mail | ||
16 | |||
17 | digest.rss: digest.t digesthead.t log.raw | ||
18 | @echo rssing $@; | ||
19 | @rm -f $@; | ||
20 | @fcpp -WWW -DMAKE_RSS -Uunix -P -H -C -V -LL >$@ $< | ||
21 | |||
22 | log.raw: log.t rssify.pl digesthead.t | ||
23 | ./rssify.pl < $< >$@ | ||
24 | |||
25 | |||
26 | |||