summaryrefslogtreecommitdiff
path: root/web/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-25 00:14:29 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-25 00:14:29 -0300
commita0106ade83e5ed941499e6182112a1489ca9b31a (patch)
tree8af7b2886d99251d661fb1acc207d55be2ec3c73 /web/Makefile
parent5e2e53dbb6f671b321e04362631d2141534c3055 (diff)
downloadeeshow-a0106ade83e5ed941499e6182112a1489ca9b31a.tar.gz
eeshow-a0106ade83e5ed941499e6182112a1489ca9b31a.tar.bz2
eeshow-a0106ade83e5ed941499e6182112a1489ca9b31a.zip
web/index.html, wt-cp.fig, Makefile: add description of copy & paste
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)