File: rules

package info (click to toggle)
gastables 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 296 kB
  • ctags: 303
  • sloc: python: 1,696; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

clean::
	find -type d | grep build$ | xargs $(RM) -r

python-build-stamp-%:
	(cd gui; python$* setup.py build)
	(cd modules; python$* setup.py build)
	touch $@

python-install-py:
	(cd gui; python$* setup.py install --root $(CURDIR)/debian/gastables)
	(cd modules; python$* setup.py install --root $(CURDIR)/debian/python-gastables)
	touch $@

get-orig-source:
	-uscan --upstream-version 0 --rename