]> git.madduck.net Git - debian/web/pdo.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 commit
[debian/web/pdo.git] / Makefile
1 # Makefile -- helper for the site
2 #
3 # Copyright (c) martin f. krafft <madduck ä debian.org>
4 # Released under the terms of the Artistic Licence 2.0
5 #
6 # Part of the source code for the site http://people.debian.org/~madduck/
7 #
8 # svn: http://svn.madduck.net/pub/debian/web/people.debian.org--madduck/
9 #
10
11 all: html/__prune__ html/css html/js html/img html/gpg html/graphs
12         r2w -w
13 .PHONY: all
14
15 all-upstream: UPSTREAM = $(HOME)/debian/pkg/rest2web/upstream.trunk
16 all-upstream: html/__prune__ html/css html/img
17         PYTHONPATH=$(UPSTREAM) python $(UPSTREAM)/r2w.py -w
18 .PHONY: all-upstream
19
20 dist: TARGETHOST = people.debian.org
21 dist: TARGETDIR  = public_html
22 dist: all
23         LC_ALL=C rsync -r --exclude talks/ --exclude .\*.swp --delete html/ $(TARGETHOST):$(TARGETDIR)
24         LC_ALL=C ssh $(TARGETHOST) chmod -R og+rX $(TARGETDIR)
25
26 html:
27         mkdir $@
28
29 html/__prune__: html
30         touch $@
31
32 html/css html/img html/gpg html/graphs html/js: html
33         tar -cf- --exclude=.svn $(@F) | tar -xf- -C $(@D)
34 .PHONY: html/css html/img html/gpg html/graphs html/js
35
36 clean:
37         rm -rf html
38 .PHONY: clean