X-Git-Url: https://git.madduck.net/debian/graphs/organigram.git/blobdiff_plain/85d2a0a6d94834ccd0c4889a9146a2b26352d294..ebc06d5f821dbf462e53f5d05ac784a816dbeb40:/Makefile diff --git a/Makefile b/Makefile index 9f21105..4b3d300 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,21 @@ BASES = en/organisation es/organizacion de/organisation -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: