summaryrefslogtreecommitdiff
path: root/web/Makefile
blob: 6b796e402b2edf96a8ed938d23a117f16a8d4574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
UPLOAD = wpwrak@neo900.org:pub/eeshow/
SCP = rsync -e "neo900 --ssh" -v

FIGS = wt-start wt-plain wt-pin-type wt-glabel wt-index wt-history wt-diff \
       wt-diff-old wt-diff-new wt-diff-index wt-doc

.PHONY:		upload

index.html:	$(FIGS:%=%.png)

%.png:		%.fig
		fig2dev -L png -S 4 $< >$@ || { rm -f $@; exit 1; }

upload:		$(FIGS:%=%.png)
		$(SCP) index.html $(FIGS:%=%.png) $(UPLOAD)