File: rules

package info (click to toggle)
ntirpc 6.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,552 kB
  • sloc: ansic: 33,936; cpp: 1,132; python: 590; sh: 68; makefile: 13
file content (45 lines) | stat: -rwxr-xr-x 1,153 bytes parent folder | download | duplicates (4)
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
35
36
37
38
39
40
41
42
43
44
45
#!/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 $@ --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_clean:
	dh_auto_clean
	- rm libntirpc.spec

#override_dh_auto_test:
#	set -ex; \
#	cd obj-$(DEB_BUILD_GNU_TYPE); \
#	for i in raw rdma tcp udp; do \
#		./tests/rpcping $$i localhost --count=1000 --threads=4 --workers=2; \
#	done

#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