cleanup before generating screenshots
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 9 Oct 2014 14:53:17 +0000 (14:53 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 9 Oct 2014 14:53:17 +0000 (14:53 +0000)
test/widgets/Makefile

index 244bc90..dbd9bbf 100644 (file)
@@ -28,7 +28,7 @@ screenshot:
          ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \
          mv -f  ${IMAGES}/tmp.$$file.png  ${IMAGES}/$$file.png
 
-screenshots:
+screenshots: clean
        for i in $$(cat url.txt); do \
          make PHANTOMJS_URL="$$i" TIMEOUT=4 screenshot; \
        done; wait