Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/pkg-info.mk
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8 export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
9
10 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
11 DPKG_EXPORT_BUILDFLAGS = 1
12 include /usr/share/dpkg/buildflags.mk
13
14 %:
15 dh $@ --buildsystem=cmake
16
17 # For automating the d/*.links stuff.
18 export LIBRDATA_VERSION=0.1.0
19 export LIBRDATA_SOVERSION=0
20
21 override_dh_clean:
22 dh_clean
23 rm -f $(CURDIR)/debian/RDataConfig.cmake
24
25 override_dh_auto_configure:
26 dh_auto_configure -- \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_BUILD_TYPE=Debug \
29 -DCMAKE_SKIP_RPATH=1
30
31 rst2man debian/librdata.3.rst > debian/librdata.3
32
33 override_dh_auto_build:
34 dh_auto_build --no-parallel
35