summaryrefslogtreecommitdiff
path: root/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'web/Makefile')
-rw-r--r--web/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/Makefile b/web/Makefile
index 6b796e4..a30cb7f 100644
--- a/web/Makefile
+++ b/web/Makefile
@@ -2,7 +2,7 @@ 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
+ wt-diff-old wt-diff-new wt-diff-index wt-doc wt-cp
.PHONY: upload
@@ -11,5 +11,10 @@ index.html: $(FIGS:%=%.png)
%.png: %.fig
fig2dev -L png -S 4 $< >$@ || { rm -f $@; exit 1; }
+wt-cp.png: cp.png
+
+cp.png: cp.xcf
+ convert $< $@ || { rm -f $@; exit 1; }
+
upload: $(FIGS:%=%.png)
$(SCP) index.html $(FIGS:%=%.png) $(UPLOAD)