File: rules

package info (click to toggle)
bambootracker 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,224 kB
  • sloc: cpp: 59,660; ansic: 7,312; sh: 132; python: 32; makefile: 18; xml: 15
file content (30 lines) | stat: -rwxr-xr-x 943 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

export QT_SELECT=qt5

%:
	dh $@ --buildsystem=qmake

override_dh_auto_configure:
	if [ ! -d submodules/emu2149/src ]; then mkdir submodules/emu2149/src; fi
	cp debian/missing-sources/emu2149/* submodules/emu2149/src/
	dh_auto_configure -- "CONFIG+=system_rtaudio" "CONFIG+=system_rtmidi"

override_dh_fixperms:
	mkdir -p debian/bambootracker/usr/share/man/man1/
	mv debian/bambootracker/usr/share/man/en/man1/BambooTracker.1.gz debian/bambootracker/usr/share/man/man1/
	rm -fr debian/bambootracker/usr/share/man/en \
		debian/bambootracker/usr/share/doc/BambooTracker \
		debian/bambootracker/usr/share/BambooTracker/specs
	dh_fixperms

override_dh_compress:
	dh_compress -X.btm