From: Wolfram Schneider Date: Thu, 9 Oct 2014 14:37:13 +0000 (+0000) Subject: better images names X-Git-Tag: 1.0.0~258^2~1^2~6 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=deeb32511e0fbb9d14a31c00659d31214c3f9e53;p=mkws-moved-to-github.git better images names --- diff --git a/test/widgets/Makefile b/test/widgets/Makefile index 0cd4805..9e560c2 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -24,7 +24,7 @@ distclean: clean test: check screenshot: - file=$$(echo "${PHANTOMJS_URL}" | ${MD5} | perl -npe 's,\s.*,,'); \ + file=$$(echo "${PHANTOMJS_URL}" | perl -npe 's,(\W),-,g'); \ ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT} screenshots: @@ -34,7 +34,7 @@ screenshots: make index index: - cd ${IMAGES}; ls *.png | perl -ne 'chomp; print qq{$$_
\n}' > index.html + cd ${IMAGES}; ls *.png | perl -ne 'chomp; print qq{

$$_



\n}' > index.html help: @echo "make [ all | clean | distclean ]"