diff options
Diffstat (limited to 'support/tikztosvg/Makefile')
-rw-r--r-- | support/tikztosvg/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/support/tikztosvg/Makefile b/support/tikztosvg/Makefile index 1d5779d30a..4c33b05869 100644 --- a/support/tikztosvg/Makefile +++ b/support/tikztosvg/Makefile @@ -1,14 +1,17 @@ .PHONY: package install +BIN_TARGET ?= /usr/bin/ +MAN_TARGET ?= /usr/share/man/man1/ + # Packages the application for CTAN package: tikztosvg.tar.gz install: man/tikztosvg.1 tikztosvg # Install the executable - install -g 0 -o 0 -m 755 tikztosvg /usr/bin/ + install -g 0 -o 0 -m 755 tikztosvg "$(BIN_TARGET)" # Install the manpage - install -g 0 -o 0 -m 644 man/tikztosvg.1 /usr/share/man/man1/ + install -g 0 -o 0 -m 644 man/tikztosvg.1 "$(MAN_TARGET)" man/tikztosvg.1: man/man.adoc asciidoctor -b manpage -o $@ $^ @@ -20,7 +23,7 @@ example/%.svg: example/%.tikz sh ./tikztosvg -p xfrac -p relsize -o $@ $^ # Try to compress the image with svgo - svgo --pretty --enable=sortAttrs $@ || exit 0 + svgo --pretty $@ || exit 0 # Packages the application for CTAN tikztosvg.tar.gz: tikztosvg man/tikztosvg.1 tikztosvg.pdf README.md example/example.tikz example/example.svg CHANGELOG.md LICENSE |