Mercurial > thymian
comparison 3rdparty/vmime/doc/book/images/Makefile @ 0:a4671277546c tip
created the repository for the thymian project
| author | ferencd |
|---|---|
| date | Tue, 17 Aug 2021 11:19:54 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a4671277546c |
|---|---|
| 1 # Either Inkscape or ImageMagick is needed for converting from SVG to PNG. | |
| 2 # Please note that Inkscape gives better results, though. | |
| 3 | |
| 4 SHELL=bash # fix for 'echo -n' on MacOS X | |
| 5 | |
| 6 build-makefile: | |
| 7 @echo "# Auto-generated file" > Makefile2 | |
| 8 @echo ".SUFFIXES: .png .svg" >> Makefile2 | |
| 9 @echo -n "foo: " >> Makefile2 | |
| 10 @for f in *.svg ; do (echo -n `basename "$$f" .svg`'.png ') >> Makefile2 ; done | |
| 11 @echo >> Makefile2 | |
| 12 @echo " @echo -n" >> Makefile2 | |
| 13 @echo ".svg.png:" >> Makefile2 | |
| 14 @echo ' echo Converting $$<' >> Makefile2 | |
| 15 @echo ' ( inkscape -b "#ffffff" -w 1000 -e $$@ $$< || convert -background none -density 300 -resize 1000x $$< $$@ )' >> Makefile2 | |
| 16 @make -f Makefile2 |
