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
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
LI_CONFIGURE_ARGS = -DLICOMPILE=ON
# Define install target dir
INSTALLDIR = $(CURDIR)/debian/tmp
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(LI_CONFIGURE_ARGS)
override_dh_auto_install:
dh_auto_install --destdir=$(INSTALLDIR)
override_dh_fixperms:
# runapp needs CAP_SYS_ADMIN
dh_fixperms -a -Xusr/bin/runapp
override_dh_install:
dh_install --list-missing
override_dh_auto_test:
# the tests require real CAP_SYS_ADMIN and at least Linux 4.0,
# so we can't run them at build-time.
|