Skip to content

Commit 4161252

Browse files
committed
add Makefile
1 parent dadf474 commit 4161252

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ docs/build/
99
*.pyc
1010
*.log
1111
*.pot
12+
*.mo
1213
*.pyc
1314
*.egg-info
1415
*.sqlite

.tx/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[sax9.concurrency]
1+
[django-concurrency.django-concurrency]
22
file_filter = concurrency/locale/<lang>/LC_MESSAGES/django.po
33
source_file = concurrency/locale/en/LC_MESSAGES/django.po
44
source_lang = en

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
VERSION=2.0.0
2+
BUILDDIR='~build'
3+
DJANGO_SETTINGS_MODULE:=demoproject.settings
4+
PYTHONPATH := ${PWD}/demo/:${PWD}
5+
6+
locale:
7+
cd concurrency && django-admin.py makemessages -l en
8+
export PYTHONPATH=${PYTHONPATH}
9+
cd concurrency && django-admin.py compilemessages --settings=${DJANGO_SETTINGS_MODULE}
10+
11+
12+
docs:
13+
mkdir -p ${BUILDDIR}/
14+
sphinx-build -aE docs ${BUILDDIR}/docs
15+
firefox ${BUILDDIR}/docs/index.html
16+
17+
.PHONY: docs

concurrency/locale/en/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2013-06-30 09:41+0700\n"
10+
"POT-Creation-Date: 2013-06-30 10:46+0700\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"

0 commit comments

Comments
 (0)