Created
April 28, 2012 09:08
-
-
Save sergejx/2517366 to your computer and use it in GitHub Desktop.
SVG to PDF rule for Rubber
This file contains 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
; Put these lines into /usr/share/rubber/rules.ini | |
; -- SVG to PDF conversion using Inkscape | |
[svgtopdf] | |
target = (.*)\.pdf | |
source = \1.{svg,svgz} | |
cost = 2 | |
rule = shell | |
command = inkscape -D -z --file=$source --export-pdf=$target | |
message = converting $source into $target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment