File: rules

package info (click to toggle)
httpcode 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 136 kB
  • sloc: python: 198; makefile: 131
file content (14 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with python2

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/CHANGES.rst upstream

override_dh_auto_install:
	python setup.py install --root=$(CURDIR)/debian/httpcode --install-layout=deb --install-scripts=/usr/bin
	rm -f $(CURDIR)/debian/httpcode/usr/lib/python2.7/dist-packages/httpcode/__init__.pyc