X-Git-Url: https://git.madduck.net/debian/graphs/organigram.git/blobdiff_plain/85d2a0a6d94834ccd0c4889a9146a2b26352d294..a6223d6bb3069fdf4d659ff9560955ec7b9a70b2:/Makefile?ds=sidebyside 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: