X-Git-Url: https://git.madduck.net/debian/graphs/organigram.git/blobdiff_plain/33d445774522fe3fdf63f1b2e80a89cf42ead96c..e08f9bf17b45ee907e01c3379b9f4250f6e1a272:/Makefile?ds=sidebyside

diff --git a/Makefile b/Makefile
index 3a8d316..1d412e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-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
@@ -7,28 +7,13 @@ all: $(FILES)
 
 %.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