File: rules

package info (click to toggle)
editobj 0.5.7-12
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 280 kB
  • ctags: 569
  • sloc: python: 2,945; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_install:
	dh_auto_install
	mv debian/python-editobj/usr/lib/$(shell pyversions -d)/*-packages/editobj/icons/ debian/python-editobj/usr/share/python-editobj
	rm -Rf debian/python-editobj/usr/lib/python*/*-packages/editobj/icons/ 

override_dh_fixperms:
	find debian/python-editobj/usr/share/ -type f -exec chmod a-x {} \;
	dh_fixperms

override_dh_compress:
	dh_compress -X.py