X-Git-Url: https://git.madduck.net/debian/graphs/organigram.git/blobdiff_plain/ad993f33ef87e92abe1a61da72b6294b364e19b2..ebc06d5f821dbf462e53f5d05ac784a816dbeb40:/Makefile diff --git a/Makefile b/Makefile index b88cba8..4b3d300 100644 --- a/Makefile +++ b/Makefile @@ -1,34 +1,22 @@ 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: rm -f $(FILES) - -.PHONY: upload -upload: - $(MAKE) -s all - chmod -R a+rX $(CURDIR) - rsync -Pva --delete $(CURDIR)/ people.debian.org:public_html/graphs/organigram