]> git.madduck.net Git - debian/graphs/organigram.git/blob - 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:

adding misc stuff
[debian/graphs/organigram.git] / Makefile
1 BASES = en/organisation es/organizacion
2 EXTS = eps png ps pdf
3 FILES = $(foreach ext,$(EXTS),$(foreach base,$(BASES),$(base).$(ext)))
4
5 .PHONY: all
6 all: $(FILES)
7
8 %.eps: %.fig
9         fig2dev -L eps $< $@
10         chmod 644 $@
11
12 .PRECIOUS: %.eps
13 %.png: %.eps
14         convert $< $@
15         chmod 644 $@
16
17 .PRECIOUS: %.ps
18 %.ps: %.fig
19         fig2dev -L ps $< $@
20         chmod 644 $@
21
22 %.pdf: %.ps
23         ps2pdf $< $@
24         chmod 644 $@
25
26 .PHONY: clean
27 clean:
28         rm -f $(FILES)
29
30 .PHONY: upload
31 upload:
32         $(MAKE) -s all
33         chmod -R a+rX $(CURDIR)
34         rsync -Pva --delete $(CURDIR)/ people.debian.org:public_html/graphs/organigram