File: rules

package info (click to toggle)
zyne 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,384 kB
  • ctags: 706
  • sloc: python: 3,873; sh: 32; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 532 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export PYTHONWARNINGS=d
buildvers := $(shell pyversions -rv)

%:
	dh $@ --with python2

override_dh_auto_install:
	set -e; \
	for i in $(buildvers); do \
		python$$i ./setup.py install --skip-build --skip-build --root $(CURDIR)/debian/zyne --install-layout=deb; \
	done
	mv  $(CURDIR)/debian/zyne/usr/bin/Zyne.py  $(CURDIR)/debian/zyne/usr/bin/zyne

override_dh_auto_clean:
	find . -name '*.pyc' -delete
	rm -rf build

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