File: rules

package info (click to toggle)
django-compat 1.0.15-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 272 kB
  • sloc: python: 1,437; makefile: 13; sh: 2
file content (18 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --with python2,python3

override_dh_auto_test::
	python runtests.py

override_dh_auto_install:
	dh_auto_install
	python setup.py install --root=debian/python-django-compat/ --install-layout=deb
	python3 setup.py install --root=debian/python3-django-compat/ --install-layout=deb

override_dh_auto_clean::
	$(RM) -r django_compat.egg-info/ build/ dist/
	find . -name '*.pyc' -exec $(RM) -f {} +
	find . -name '*.pyo' -exec $(RM) -f {} +
	find . -name '*~' -exec rm $(RM) {} +