X-Git-Url: https://git.madduck.net/debian/graphs/package-cycle.git/blobdiff_plain/11a792acf9bcc3a92e537683b6a22d622aa67f7a..4aad227ad70b02094a2556c609abb3b553970dc0:/Makefile?ds=sidebyside 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