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
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
#PKD = $(abspath $(dir $(MAKEFILE_LIST)))
#PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
%:
dh $@ --parallel --buildsystem=cmake
override_dh_auto_configure:
# cp -vf CMakeLists.txt.standalone CMakeLists.txt
dh_auto_configure -- \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
-DTIRPC_EPOLL=1 \
-DUSE_GSS=ON
#override_dh_auto_install:
# dh_auto_install --destdir=$(CURDIR)/debian/tmp
#override_dh_auto_install:
# dh_auto_install --destdir=debian/tmp
# dh_install -ppython-eblob
# dh_install -Xlibeblob_python.so
#override_dh_makeshlibs:
# dh_makeshlibs -V
|