-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (31 loc) · 1017 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
RIETVELDREV=671
default:
@echo "Run 'make all' to fetch required sources to run this example."
all: static templates codereview django gae2django dev.db
@echo "Run './manage.py runserver 127.0.0.1:8000' to run Rietveld."
clean: clean_local clean_external
clean_external: clean_rietveld clean_django
clean_rietveld:
rm -rf codereview static templates upload.py
clean_django:
unlink django
clean_local:
unlink gae2django
rm -f dev.db
gae2django:
ln -s ../../gae2django .
dev.db:
./manage.py syncdb
codereview:
svn co http://rietveld.googlecode.com/svn/trunk/codereview@$(RIETVELDREV)
patch -p0 < patches/download.link.diff
static: upload.py
svn co http://rietveld.googlecode.com/svn/trunk/static@$(RIETVELDREV)
upload.py:
svn export http://rietveld.googlecode.com/svn/trunk/upload.py@$(RIETVELDREV)
patch -p0 < patches/upload.diff
templates:
svn co http://rietveld.googlecode.com/svn/trunk/templates@$(RIETVELDREV)
patch -p0 < patches/account-login-links.diff
django:
ln -s ../../django .