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 34
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --sourcedirectory=src
override_dh_auto_build:
mkdir -p plugins bin
dh_auto_build -- targets
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/ladspa-sdk \
INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \
INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \
INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/
# Tests require humans
override_dh_auto_test:
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_BUILDDIR = src
DEB_MAKE_BUILD_TARGET = targets
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/ladspa-sdk \
INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \
INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \
INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/
pre-build::
# git doesn't preserve empty dirs, this is for git-buildpackage
mkdir -p plugins
mkdir -p bin
|