X-Git-Url: https://git.madduck.net/debian/graphs/timeline.git/blobdiff_plain/057fa44484015627b20f52254564a0a5ddc975d5..9fb3974f5c491ca6627cec24d2102b76e8fd9e9b:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 825f05f..5a3ed28 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,21 @@ BASES = en/timeline de/timeline -EXTS = eps png ps pdf +EXTS = eps png pdf FILES = $(foreach ext,$(EXTS),$(foreach base,$(BASES),$(base).$(ext))) .PHONY: all all: $(FILES) +%.eps: %.svg + inkscape --export-eps=$@ $< + %.eps: %.fig fig2dev -L eps $< $@ - chmod 644 $@ -.PRECIOUS: %.eps %.png: %.eps convert $< $@ - chmod 644 $@ - -.PRECIOUS: %.ps -%.ps: %.fig - fig2dev -L ps $< $@ - chmod 644 $@ -%.pdf: %.ps - ps2pdf $< $@ - chmod 644 $@ +%.pdf: %.eps + epstopdf --outfile=$@ $< .PHONY: clean clean: