File: rules

package info (click to toggle)
csound-plugins 1.0.2~dfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,800 kB
  • sloc: cpp: 16,572; ansic: 7,522; python: 458; sh: 94; makefile: 19
file content (31 lines) | stat: -rwxr-xr-x 857 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
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2022 IOhannes m zmölnig <umlaeute@debian.org>
# Description: Main Debian packaging script for CSound Plugins

#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
		-DBUILD_RELEASE=ON \
		-DUSE_GIT_COMMIT=OFF \
		-DUSE_DOUBLE=ON \
		-DABLETON_LINK_HOME=/ \
		-DDEFAULT_STK_RAWWAVE_PATH=/usr/share/stk/rawwaves \
		$(empty)

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp/

# run this after importing a new version, e.g. 'debian/rules licensecheck'
licensecheck:
	LANG=C.UTF-8 licensecheck --deb-machine -r * \
	        > debian/copyright_newhints
	cmp debian/copyright_hints debian/copyright_newhints \
	        && rm debian/copyright_newhints