clean:
rm -f mkws-error.png mkws-error.html
rm -f images/*.png
- make -C./widgets $@
+ ${MAKE} -C./widgets $@
distclean: clean clean-tmp clean-error
rm -rf node_modules
ls -l ${IMAGES}
screenshots:
- make -C ./widgets $@
+ ${MAKE} -C ./widgets $@
jsbeautifier jsb indent:
for i in package.json ./spec*/*.js ./js/*.js ./phantom/*.js; do \
for i in $$(cat url.txt); do \
make PHANTOMJS_URL="$$i" TIMEOUT=4 screenshot; \
done; wait
- make index
+ ${MAKE} index
index:
cd ${IMAGES}; ls -tr *.png | perl -ne 'chomp; print qq{<h2>$$_</h2><img src="$$_"/><br/><br/><p/>\n}' > index.html