blob: a07171e445648392111e98d0f47249167834e53e (
plain)
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
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/buildtools.mk
#
# for use $(DEB_ ...
#
include /usr/share/dpkg/default.mk
#
# Hardening
#
export DEB_BUILD_MAINT_OPTIONS = hardening=+all, optimize=-lto
#
# add -Wall to compilerflags
#
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall -std=c++14
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -Wall -std=c++14
%:
dh $@
override_dh_auto_build-indep:
dh_auto_build
make -C doc doxygen-doc
override_dh_installdocs-indep:
cp -r $(CURDIR)/doc/doxygen/html/* $(CURDIR)/debian/libpsocksxx-doc/usr/share/doc/libpsocksxx-doc/docs/
dh_installdocs
override_dh_makeshlibs:
dh_makeshlibs
dpkg-gensymbols -v$(DEB_VERSION_UPSTREAM) -plibpsocksxx0
|