Created
September 6, 2012 09:12
-
-
Save xles/3653482 to your computer and use it in GitHub Desktop.
Makefile looping?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| looptest: | |
| cd assets/images/; \ | |
| echo "Processing SVG assets"; \ | |
| for file in *.svg; do \ | |
| $(INKSCAPE) -d 300 -f $(CURDIR)/assets/images/$$file; \ | |
| -e $(CURDIR)/build/tmp/$$file.png; \ | |
| echo "processed" $$file; \ | |
| done; cd ../../build/tmp/; \ | |
| echo "Done processing SVG assets" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment