File: rules

package info (click to toggle)
python-cyclone 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,388 kB
  • ctags: 1,372
  • sloc: python: 8,823; sh: 183; makefile: 13; sql: 12
file content (19 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=python_distutils --with=python2

override_dh_install:
	dh_install -O--buildsystem=python_distutils
	rm -f debian/python-cyclone/usr/bin/cyclone

override_dh_clean:
	dh_clean -O--buildsystem=python_distutils
	rm -f twisted/plugins/dropin.cache

override_dh_fixperms:
	dh_fixperms -O--buildsystem=python_distutils -Xexamples/
	find debian/python-cyclone/usr/share/doc/python-cyclone/examples -type f -name '*.py' -print0 | xargs -0 chmod 644

override_dh_compress:
	dh_compress -O--buildsystem=python_distutils -Xexamples/