]> git.madduck.net Git - debian/graphs/organigram.git/blobdiff - Makefile

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add german translation as svg
[debian/graphs/organigram.git] / Makefile
index b88cba8b3c1255e9e9b92e394dbec8d7205a8c39..4b3d300ca2f7fb50372f88b29a02e545053239cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,34 +1,22 @@
 BASES = en/organisation es/organizacion de/organisation
 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)
 
 FILES = $(foreach ext,$(EXTS),$(foreach base,$(BASES),$(base).$(ext)))
 
 .PHONY: all
 all: $(FILES)
 
+%.eps: %.svg
+       inkscape --export-eps=$@ $<
+
 %.eps: %.fig
        fig2dev -L eps $< $@
 %.eps: %.fig
        fig2dev -L eps $< $@
-       chmod 644 $@
 
 
-.PRECIOUS: %.eps
 %.png: %.eps
        convert $< $@
 %.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: 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