OLD | NEW |
| (Empty) |
1 RIETVELDREV=40320f76005c | |
2 | |
3 default: | |
4 @echo "Run 'make all' to fetch required sources to run this example." | |
5 | |
6 all: static templates codereview gae2django dev.db | |
7 @echo "Run './manage.py runserver' to run Rietveld." | |
8 | |
9 clean: clean_local clean_external | |
10 | |
11 clean_external: clean_rietveld | |
12 | |
13 clean_rietveld: | |
14 @if [ -x codereview ]; then unlink codereview; fi; | |
15 @if [ -x static ]; then unlink static; fi; | |
16 @if [ -x templates ]; then unlink templates; fi; | |
17 @if [ -x upload.py ]; then unlink upload.py; fi; | |
18 @rm -rf rietveld.hg | |
19 | |
20 clean_local: | |
21 @if [ -x gae2django ]; then unlink gae2django; fi; | |
22 @rm -f dev.db | |
23 | |
24 gae2django: | |
25 ln -s ../../gae2django . | |
26 | |
27 dev.db: | |
28 ./manage.py syncdb --noinput | |
29 | |
30 rietveld.hg: | |
31 hg clone -u $(RIETVELDREV) https://hg.adblockplus.org/rietveld rietveld.
hg | |
32 | |
33 codereview: rietveld.hg | |
34 ln -s rietveld.hg/codereview . | |
35 patch -p1 < patches/download.link.diff | |
36 | |
37 static: rietveld.hg upload.py | |
38 ln -s rietveld.hg/static . | |
39 | |
40 upload.py: rietveld.hg | |
41 ln -s rietveld.hg/upload.py . | |
42 patch -p0 < patches/upload.diff | |
43 | |
44 templates: rietveld.hg | |
45 ln -s rietveld.hg/templates . | |
46 patch -p1 < patches/account-login-links.diff | |
OLD | NEW |