summaryrefslogtreecommitdiff
path: root/www/digest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/digest/Makefile')
-rw-r--r--www/digest/Makefile26
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 @@
1ACTION=@echo preprocessing $@; rm -f $@; fcpp -WWW -I.. -Uunix -H -C -V -LL >$@
2
3SRC := $(wildcard *.t)
4OBJS := $(SRC:%.t=%.html)
5
6all: $(OBJS) digest.rss digest.mail
7
8%.html : %.t news.t digesthead.t log.t
9 $(ACTION) $<
10
11digest.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
17digest.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
22log.raw: log.t rssify.pl digesthead.t
23 ./rssify.pl < $< >$@
24
25
26