-define(MULTIARCH_HEADERS,ifdef(`DO_MULTIARCH',
-Multi-Arch: same
-Pre-Depends: ${misc:Pre-Depends},REMOVE_ME))dnl
Source: e2fsprogs
Section: admin
Priority: required
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: e2fsprogs (<< 1.34-1)
Architecture: any
-MULTIARCH_HEADERS
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Description: common error description library
libcomerr is an attempt to present a common error-handling mechanism to
manipulate the most common form of error code in a fashion that does not
Depends: libcomerr2, ${shlibs:Depends}, ${misc:Depends}
Replaces: e2fsprogs (<< 1.34-1)
Architecture: any
-MULTIARCH_HEADERS
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Description: command-line interface parsing library
libss provides a simple command-line interface parser which will
accept input from the user, parse the command into an argv argument
Replaces: e2fsprogs (<< 1.34-1)
Provides: libext2fs2, libe2p2
Architecture: any
-MULTIARCH_HEADERS
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Description: ext2/ext3/ext4 file system libraries
The ext2, ext3 and ext4 file systems are successors of the original ext
("extended") file system. They are the main file system types used for
DEB_HOST_OS ?= $(shell dpkg-architecture -qDEB_HOST_OS)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Allow distro-specific behaviour
DISTRO :=$(shell sed -ne '/DISTRIB_ID/s/.*=//p' /etc/lsb-release 2>/dev/null || echo Debian)
UTIL_CONF_FLAGS += --disable-fuse2fs
endif
-ifneq ($(strip $(DEB_HOST_MULTIARCH)),)
-MULTIARCH_CONF ?= --with-multiarch=$(DEB_HOST_MULTIARCH)
-# This doesn't work yet because gdb and lintian don't expect and/or
-# don't work with /usr/lib/<triplet>/debug
-#USRLIB = /usr/lib/$(DEB_HOST_MULTIARCH)
-USRLIB ?= /usr/lib
-else
-USRLIB ?= /usr/lib
-endif
-
BACKTRACE_CONF_FLAGS ?= $(shell if ${debdir}/scripts/test-backtrace ; then echo --disable-backtrace ; fi)
COMMON_CONF_FLAGS = --disable-e2initrd-helper --enable-quota \
--infodir=/usr/share/info --enable-symlink-install \
- $(MULTIARCH_CONF) $(BACKTRACE_CONF_FLAGS) $(UTIL_CONF_FLAGS)
+ --with-multiarch=$(DEB_HOST_MULTIARCH) \
+ $(BACKTRACE_CONF_FLAGS) $(UTIL_CONF_FLAGS)
STD_CONF_FLAGS ?= --enable-elf-shlibs
M4_ARGS+=-UUSE_DBGSYM
endif
-ifneq ($(strip $(DEB_HOST_MULTIARCH)),)
-M4_ARGS+=-DDO_MULTIARCH
-else
-M4_ARGS+=-UDO_MULTIARCH
-endif
-
ifneq ($(BUILD_E2FSCK_STATIC),no)
M4_ARGS+=-DE2FSCK_STATIC
else
M4_ARGS+=-UFUSE2FS
endif
-FILES_FIXUP= libcomerr2.files comerr-dev.files libss2.files ss-dev.files \
- libuuid1.files uuid-dev.files libblkid1.files libblkid-dev.files \
- e2fslibs.files e2fslibs-dev.files
-
debian-files: debian/control
-ifeq ($(strip $(DEB_HOST_MULTIARCH)),)
- for i in $(FILES_FIXUP); do \
- sed -e 's;lib/\*/;lib/;' debian/$$i.in > debian/$$i; \
- done
-else
- for i in $(FILES_FIXUP); do cp debian/$$i.in debian/$$i; done
-endif
mrproper: clean
rm debian/control