diff --git a/geral/.gitignore b/geral/.gitignore new file mode 100644 index 0000000..ecf5e87 --- /dev/null +++ b/geral/.gitignore @@ -0,0 +1,2 @@ +*.pdf +*.png diff --git a/geral/Makefile b/geral/Makefile new file mode 100644 index 0000000..81f05db --- /dev/null +++ b/geral/Makefile @@ -0,0 +1,14 @@ +SOURCES = $(wildcard *.svg) +PDFs = $(SOURCES:.svg=.pdf) +PNGs = $(SOURCES:.svg=.png) + +run: $(PDFs) $(PNGs) + +%.png: %.svg + inkscape -d 300 $< -e $@ + +%.pdf: %.svg + inkscape -d 300 $< -A $@.tmp && gs -dSAFER -dBATCH -dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite -sColorConversionStrategy=CMYK -dProcessColorModel=/DeviceCMYK -sOutputFile=$@ $@.tmp && rm -f $@.tmp + +clean: + rm -f *.pdf *.png diff --git a/geral/ansol-rollup.png b/geral/ansol-rollup.png deleted file mode 100644 index e4a4e22..0000000 Binary files a/geral/ansol-rollup.png and /dev/null differ