X-Git-Url: https://git.madduck.net/debian/graphs/package-cycle.git/blobdiff_plain/11a792acf9bcc3a92e537683b6a22d622aa67f7a..4a8a458c4fa60dde53300b99c640f7f31ab27e0a:/Makefile diff --git a/Makefile b/Makefile index 366e1ee..9ec953b 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,19 @@ -BASES = en/package-cycle +BASES = en/package-cycle de/organisation EXTS = eps png ps pdf FILES = $(foreach ext,$(EXTS),$(foreach base,$(BASES),$(base).$(ext))) .PHONY: all all: $(FILES) -.PRECIOUS: %.eps %.eps: %.dia dia -t eps $< - chmod 644 $@ -.PRECIOUS: %.png %.png: %.eps convert $< $@ - chmod 644 $@ -.PRECIOUS: %.ps -%.ps: %.eps - convert $< $@ - chmod 644 $@ - -.PRECIOUS: %.pdf -%.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/package-cycle