File: rules

package info (click to toggle)
hydrogen 1.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,972 kB
  • sloc: cpp: 81,261; xml: 6,167; sh: 857; python: 238; ruby: 234; php: 90; makefile: 32; ansic: 26
file content (22 lines) | stat: -rwxr-xr-x 485 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 DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CMAKE_EXTRA_FLAGS = -DWANT_SHARED=OFF \
 -DWANT_PORTAUDIO=ON \
 -DWANT_PORTMIDI=ON \
 -DWANT_RUBBERBAND=ON

export QTDIR=/usr/lib/qt5

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- $(DEB_CMAKE_EXTRA_FLAGS)

execute_after_dh_auto_build:
	mv ./data/img/h2-icon.bmp ./data/img/h2-icon.png

execute_before_dh_clean:
	mv ./data/img/h2-icon.png ./data/img/h2-icon.bmp || true