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

initial checkin
[debian/graphs/timeline.git] / Makefile
1 BASES = en/timeline de/timeline
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)