summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 2bfc3eeb93626462d562f189774e2dd747a08a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
# The --buildirectory=build is there so that we can easily get a hold
# of documentation and examples, which are not installed by upstream.
	dh $@ --builddirectory=build

override_dh_auto_clean:
	rm -f GUDHIVersion.cmake
	rm -rf doc/html
	dh_auto_clean

override_dh_auto_build:
	make -C build doxygen
	dh_auto_build