summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 3245017..82e9ad9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,20 +19,19 @@ ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --host $(DEB_HOST_GNU_TYPE)
endif
-###
+export QT_SELECT=qt5
%:
dh $@ --with autoreconf
override_dh_auto_configure:
- ./configure $(confflags)
+ dh_auto_configure --buildsystem=cmake
override_dh_auto_build-indep:
dh_auto_build
- make -C doc
override_dh_installdocs-indep:
- cp -r $(CURDIR)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/
+ cp -r $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/
$(RM) debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/*.md5
dh_installdocs