Skip to content

Commit

Permalink
adding crude makefile for pdf 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
reox committed Jul 25, 2018
1 parent 3391c79 commit 82bfbdc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions images/stickers/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/make -f

GS := /usr/bin/gs

## Create a PDF 1.3 out of inkscape PDF

%.pdf: %.svg
# Export SVG
inkscape $< --export-pdf=tmp.pdf
# Run ghostscript
${GS} \
-dSAFER \
-dBATCH \
-dNOPAUSE \
-dNOCACHE \
-sDEVICE=pdfwrite \
-sColorConversionStrategy=CMYK \
-dProcessColorModel=/DeviceCMYK \
-dPDFX \
-sOutputFile=$@ \
tmp.pdf

0 comments on commit 82bfbdc

Please sign in to comment.