]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - Makefile
Change source of CC image from PNG to SVG, and convert to PNG on the fly.
[text-free-culture-lessig.git] / Makefile
index 2305937514d03fb8681d0ef8f1f5d5894c4a5d61..9cf0fdc2eb1cedc3129fa5b98f5c7e37c8879dce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,3 +70,9 @@ lint: freeculture.xml
 
 lint.nb: freeculture.nb.xml
        xmllint  $(XMLLINTOPTS) freeculture.nb.xml
+
+images/cc.svg:
+       wget -O $@ http://upload.wikimedia.org/wikipedia/commons/9/97/CC_some_rights_reserved_new_2.svg
+
+images/cc.png: images/cc.svg
+       convert -adaptive-resize 500x200 $^ $@