File: rules

package info (click to toggle)
hydrogen 1.2.0~beta1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,736 kB
  • sloc: cpp: 72,116; xml: 3,540; sh: 803; python: 238; ruby: 219; php: 90; makefile: 74; ansic: 25
file content (24 lines) | stat: -rwxr-xr-x 509 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
#!/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)

override_dh_auto_build:
	mv ./data/img/h2-icon.bmp ./data/img/h2-icon.png
	dh_auto_build

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