Mercurial > getan
annotate debian/rules @ 356:45d97d47a9fe
Add a template module to getan
The module will use jinja2 to render different getan evaluations. Finally this
will replace the zeiterfassung.py, getan-eval.py and other hardcoded script
content.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 03 Mar 2014 14:30:44 +0100 |
parents | efff8b9e7046 |
children |
rev | line source |
---|---|
120
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
1 #!/usr/bin/make -f |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
2 # -*- makefile -*- |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
3 |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
4 %: |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
5 dh $@ |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
6 |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
7 PYVERS=$(shell pyversions -vs) |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
8 |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
9 override_dh_auto_install: $(PYVERS:%=install-python%) |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
10 dh_auto_install |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
11 |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
12 install-python%: |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
13 python setup.py install --root $(CURDIR)/debian/getan --install-layout=deb |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
14 |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
15 override_dh_install: |
efff8b9e7046
Add debian package description
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
16 dh_install |