File: rules

package info (click to toggle)
python-django-tagging 1%3A0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 352 kB
  • ctags: 284
  • sloc: python: 1,615; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

PKG = $(shell dh_listpackages)

%:
	dh $@ --with python2

override_dh_auto_test:
	PYTHONPATH=. DJANGO_SETTINGS_MODULE=tagging.tests.settings python /usr/bin/django-admin test

override_dh_installdocs:
	dh_installdocs
	# Generate documentation
	rst2html <docs/overview.txt >debian/$(PKG)/usr/share/doc/$(PKG)/overview.html