File: rules

package info (click to toggle)
cecilia 5.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,108 kB
  • sloc: python: 18,769; sh: 83; xml: 39; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME = cecilia
export PYTHONWARNINGS=d
export PYBUILD_INSTALL_ARGS_python3=--no-compile --skip-build --root $(CURDIR)/debian/cecilia --install-layout=deb
export PYBUILD_AFTER_INSTALL=mv  $(CURDIR)/debian/cecilia/usr/bin/Cecilia5.py  $(CURDIR)/debian/cecilia/usr/bin/cecilia

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

override_dh_auto_clean:
	find . -name '*.pyc' -delete
	rm -rf build .pybuild cecilia.egg-info

# not to run
override_dh_compress:
	dh_compress --exclude=.sg --exclude=.aif --exclude=.aiff