X-Git-Url: https://git.madduck.net/debian/graphs/organigram.git/blobdiff_plain/33d445774522fe3fdf63f1b2e80a89cf42ead96c..850dec5bc7af19f1a08fdc52f292cc5a54ebd90d:/Makefile diff --git a/Makefile b/Makefile index 3a8d316..4b3d300 100644 --- a/Makefile +++ b/Makefile @@ -1,34 +1,22 @@ -BASES = en/organisation es/organizacion -EXTS = eps png ps pdf +BASES = en/organisation es/organizacion de/organisation +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