File: rules

package info (click to toggle)
python-ghost 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 244 kB
  • ctags: 275
  • sloc: python: 1,619; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export PYBUILD_NAME=ghost

%:
	dh $@ --buildsystem=pybuild --with python2,python3

override_dh_install:
	dh_install
	rm -rf $(CURDIR)/debian/python*-ghost/usr/ghost/
	rm -f $(CURDIR)/debian/python*-ghost/usr/lib/python*/dist-packages/ghost/test.py
	rm -rf $(CURDIR)/debian/python*-ghost/usr/lib/python*/dist-packages/tests/
	rm -rf $(CURDIR)/debian/python*-ghost/usr/lib/python*/dist-packages/ghost/ext/