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

makefile update
[debian/graphs/package-cycle.git] / Makefile
1 BASES = en/package-cycle de/organisation
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 .PRECIOUS: %.eps
9 %.eps: %.dia
10         dia -t eps $<
11         chmod 644 $@
12
13 .PRECIOUS: %.png
14 %.png: %.eps
15         convert $< $@
16         chmod 644 $@
17
18 .PRECIOUS: %.ps
19 %.ps: %.eps
20         convert $< $@
21         chmod 644 $@
22
23 .PRECIOUS: %.pdf
24 %.pdf: %.ps
25         ps2pdf $< $@
26         chmod 644 $@
27
28 .PHONY: clean
29 clean:
30         rm -f $(FILES)
31
32 .PHONY: upload
33 upload:
34         $(MAKE) -s all
35         chmod -R a+rX $(CURDIR)
36         rsync -Pva --delete $(CURDIR)/ people.debian.org:public_html/graphs/package-cycle