summaryrefslogtreecommitdiff
path: root/www/screenshots/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/screenshots/Makefile')
-rw-r--r--www/screenshots/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/screenshots/Makefile b/www/screenshots/Makefile
new file mode 100644
index 0000000000..751a62f256
--- /dev/null
+++ b/www/screenshots/Makefile
@@ -0,0 +1,9 @@
+ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -LL >$@
+
+SRC := $(wildcard *.t)
+OBJS := $(SRC:%.t=%.html)
+
+all: $(OBJS)
+
+%.html : %.t
+ $(ACTION) $<