Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
8
9 #PKD = $(abspath $(dir $(MAKEFILE_LIST)))
10 #PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
11
12 %:
13 dh $@ --buildsystem=cmake
14
15
16 override_dh_auto_configure:
17 # cp -vf CMakeLists.txt.standalone CMakeLists.txt
18 dh_auto_configure -- \
19 -DCMAKE_VERBOSE_MAKEFILE=ON \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DLIB_INSTALL_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
22 -DTIRPC_EPOLL=1 \
23 -DUSE_GSS=ON
24
25 override_dh_auto_clean:
26 dh_auto_clean
27 - rm libntirpc.spec
28
29 #override_dh_auto_test:
30 # set -ex; \
31 # cd obj-$(DEB_BUILD_GNU_TYPE); \
32 # for i in raw rdma tcp udp; do \
33 # ./tests/rpcping $$i localhost --count=1000 --threads=4 --workers=2; \
34 # done
35
36 #override_dh_auto_install:
37 # dh_auto_install --destdir=$(CURDIR)/debian/tmp
38
39 #override_dh_auto_install:
40 # dh_auto_install --destdir=debian/tmp
41 # dh_install -ppython-eblob
42 # dh_install -Xlibeblob_python.so
43
44 #override_dh_makeshlibs:
45 # dh_makeshlibs -V