Browse Source

Added trivial makefile

master
David Winterbottom 13 years ago
parent
commit
34ff704a80
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      Makefile

+ 12
- 1
Makefile View File

@@ -12,4 +12,15 @@ sandbox:
12 12
 	sandbox/manage.py loaddata countries.json sandbox/fixtures/pages.json
13 13
 
14 14
 test:
15
-	./runtests.py
15
+	./runtests.py
16
+
17
+i18n:
18
+	# Create the .po files used for i18n 
19
+	cd oscar; \
20
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=de; \
21
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=fr; \
22
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=pl; \
23
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=ru; \
24
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=es; \
25
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=it; \
26
+		../sandbox/manage.py makemessages --ignore=sandbox/ --locale=da

Loading…
Cancel
Save