summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 3 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules
index ceb2064..4681b91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
-CONFFLAGS := --sbindir=/sbin --enable-mtrace --enable-shared
+CONFFLAGS := --sbindir=/usr/sbin --enable-mtrace --enable-shared
CONFFLAGS += --disable-gcc-warnings
# Enable device-mapper only on Linux
@@ -26,7 +26,7 @@ endif
CONFFLAGS_UDEB := $(CONFFLAGS)
# Options specific to the udeb build.
-CONFFLAGS_UDEB += ac_cv_header_execinfo_h=no --libdir=/lib
+CONFFLAGS_UDEB += ac_cv_header_execinfo_h=no --libdir=/usr/lib
CONFFLAGS_UDEB += --disable-static --without-readline
%:
@@ -62,7 +62,7 @@ override_dh_auto_install:
$(MAKE) -C build-udeb/libparted install DESTDIR=$(CURDIR)/debian/tmp-udeb
$(MAKE) -C build-udeb/parted install DESTDIR=$(CURDIR)/debian/tmp-udeb
rm -f debian/tmp/usr/lib/*/*.la
- rm -f debian/tmp-udeb/lib/*.la debian/tmp-udeb/lib/*.so
+ rm -f debian/tmp-udeb/usr/lib/*.la debian/tmp-udeb/usr/lib/*.so
override_dh_install:
dh_install -Nparted-udeb -Nlibparted2-udeb -Nlibparted-fs-resize0-udeb
@@ -75,12 +75,6 @@ override_dh_installdocs-indep:
dh_installdocs -pparted-doc --doc-main-package=libparted2t64
dh_installdocs --remaining-packages
-override_dh_strip:
- dh_strip -plibparted2t64 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
- dh_strip -plibparted-fs-resize0t64 \
- --ddeb-migration='libparted-fs-resize0-dbg (<< 3.2-11~)'
- dh_strip -Nlibparted2t64 -Nlibparted-fs-resize0t64
-
override_dh_makeshlibs:
dh_makeshlibs -plibparted2t64 --add-udeb=libparted2-udeb -- -c4
dh_makeshlibs -plibparted-fs-resize0t64 --add-udeb=libparted-fs-resize0-udeb -- -c4