File: rules

package info (click to toggle)
csoundqt 1.1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 103,400 kB
  • sloc: cpp: 37,916; python: 2,070; xml: 2,034; sh: 341; makefile: 20; perl: 8
file content (33 lines) | stat: -rwxr-xr-x 705 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

QT_SELECT = qt5
export QT_SELECT

QMAKE_ARGS = -r qcs.pro \
    "CONFIG += build64 debugger record_support release rtmidi" \
    INSTALL_DIR=/usr SHARE_DIR=/usr/share \
    "DEFAULT_CSOUND_LIBRARY_DIRS=/usr/lib/$(DEB_HOST_MULTIARCH) /usr/lib" \

%:
	dh $@

build:
	dh build

override_dh_auto_configure:
	dh_auto_configure -- $(QMAKE_ARGS)

override_dh_install-arch:
	dh_install -a

override_dh_install-indep:
	dh_install -i
	find $(CURDIR)/debian/csoundqt-examples/usr/share/csoundqt/ -type f -print0 | xargs -0 chmod 644

.PHONY: build