File: rules

package info (click to toggle)
songwrite 0.14-10
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,536 kB
  • ctags: 1,193
  • sloc: python: 7,059; xml: 850; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 541 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/

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

override_dh_auto_install:
	dh_auto_install
	find debian/songwrite/usr/share/ -type f -exec chmod -R a-x {} \;
	#
	mkdir -p debian/songwrite/usr/share/doc/songwrite/
	mv debian/songwrite/usr/share/songwrite/doc/* debian/songwrite/usr/share/doc/songwrite/
	rmdir debian/songwrite/usr/share/songwrite/doc
	#
	find debian/songwrite/usr/share/locale -name "*.po" -exec rm {} \;
	#
	rm debian/songwrite/usr/share/*.egg-info