diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 966071e5..2bfc3eeb 100755 --- a/debian/rules +++ b/debian/rules @@ -6,14 +6,18 @@ CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) %: - dh $@ +# 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_install: - dh_auto_install --destdir=debian/tmp/ +override_dh_auto_build: + make -C build doxygen + dh_auto_build |