blob: d158cf32314224b9e34635ee94538046b4c09c71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#! /usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CFLAGS += -std=gnu99 \
-D__uint64_t=uint64_t \
-Du_int16_t=uint16_t \
-Du_int32_t=uint32_t \
-Du_int64_t=uint64_t \
-DNO_INLINE_FUNCS
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--disable-fsck \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
--enable-elf-shlibs \
--enable-quota \
--enable-symlink-install \
--with-multiarch=$(DEB_HOST_MULTIARCH) \
CFLAGS="$(CFLAGS)" \
AWK=/usr/bin/awk
override_dh_auto_build:
dh_auto_build
$(MAKE) libext2fs_abt.html -C doc
$(MAKE) com_err.info com_err_abt.html -C lib/et
override_dh_auto_install:
dh_auto_install -- \
install-libs
override_dh_installdocs:
dh_installdocs -p comerr-dev --link-doc=libcomerr2
dh_installdocs -p ss-dev --link-doc=libss2
dh_installdocs -p e2fslibs-dev --link-doc=e2fslibs
dh_installdocs --remaining-packages
override_dh_strip:
dh_strip -p libcomerr2 --dbg-package=libcomerr2-dbg
dh_strip -p libss2 --dbg-package=libss2-dbg
dh_strip -p e2fslibs --dbg-package=e2fslibs-dbg
dh_strip --remaining-packages
|