summaryrefslogtreecommitdiff
path: root/debian/rules
blob: f8279592c54a162e7afc6bd27629c753736fd857 (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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

#
# Hardening
#
export DEB_BUILD_MAINT_OPTIONS = hardening=+all


export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall
#CPPFLAGS+= -Wall
#export CPPFLAGS

%:
	dh $@ --with autoreconf

override_dh_auto_build:
	dh_auto_build
	make -C doc doxygen-doc

override_dh_installdocs:
	cp -r $(CURDIR)/doc/doxygen/html/* $(CURDIR)/debian/libpsocksxx-doc/usr/share/doc/libpsocksxx-doc/docs/
	dh_installdocs
	
override_dh_makeshlibs:
	dpkg-gensymbols -plibpsocksxx0
	dh_makeshlibs