summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 569555a..517a4c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ confflags = --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/li
override_dh_auto_configure:
./configure $(confflags)
-override_dh_install:
+override_dh_install-arch:
chmod -x examples/*.cpp
dh_install
#
@@ -31,6 +31,10 @@ override_dh_install:
mv -f $(CURDIR)/debian/libxbase64-dev/usr/include/xbase64/xbconfig.h $(CURDIR)/debian/libxbase64-dev/usr/include/xbase64/xbconfig-$(DEB_HOST_MULTIARCH).h
cd $(CURDIR)/debian/libxbase64-dev/usr/include/xbase64 && ln -rs xbconfig-$(DEB_HOST_MULTIARCH).h xbconfig.h
+override_dh_install-indep:
+ chmod -x examples/*.cpp
+ dh_install
+
override_dh_installdocs:
dh_installdocs -A --link-doc=libxbase64-doc