4 # Invoke each target with `./debian/rules <target>'. All targets should be
5 # invoked with the package root as the current directory.
7 # The `binary' target must be run as root, as it needs to install files with
10 .PHONY
: binary binary-arch binary-indep build build-arch build-indep \
11 build-bf build-std
install install-udeb \
12 clean checkroot mrproper debug_flags debian-files
14 export DEB_BUILD_MAINT_OPTIONS ?
= hardening
=+all
19 # These are used for cross-compiling and for saving the configure script
20 # from having to guess our platform (since we know it already)
21 DEB_HOST_ARCH ?
= $(shell dpkg-architecture
-qDEB_HOST_ARCH
)
22 DEB_BUILD_ARCH ?
= $(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
23 DEB_HOST_OS ?
= $(shell dpkg-architecture
-qDEB_HOST_OS
)
24 DEB_HOST_GNU_TYPE ?
= $(shell dpkg-architecture
-qDEB_HOST_GNU_TYPE
)
25 DEB_BUILD_GNU_TYPE ?
= $(shell dpkg-architecture
-qDEB_BUILD_GNU_TYPE
)
26 DEB_HOST_MULTIARCH ?
= $(shell dpkg-architecture
-qDEB_HOST_MULTIARCH
)
27 DEB_HOST_ARCH_OS ?
= $(shell dpkg-architecture
-qDEB_HOST_ARCH_OS
)
29 # Allow distro-specific behaviour
30 DISTRO
:=$(shell sed
-ne
'/DISTRIB_ID/s/.*=//p' /etc
/lsb-release
2>/dev
/null || echo Debian
)
32 ifeq ($(DEB_HOST_ARCH_OS
), hurd
)
36 ifneq ($(filter pkg.e2fsprogs.no-fuse2fs
,$(DEB_BUILD_PROFILES
)),)
40 ifneq ($(filter pkg.e2fsprogs.no-static-e2fsck
,$(DEB_BUILD_PROFILES
)),)
41 SKIP_E2FSCK_STATIC
=yes
44 ifneq ($(filter noudeb
,$(DEB_BUILD_PROFILES
)),)
48 DH_VERSION
:= $(shell dpkg-query
-W
-f
'$${Version}' debhelper
)
50 USE_DH9 ?
= $(shell if dpkg
--compare-versions
$(DH_VERSION
) lt
11 ; then echo yes
; fi
)
53 USE_DBGSYM ?
= $(shell if dpkg
--compare-versions
$(DH_VERSION
) ">=" 9.20160114 ; then echo yes
; fi
)
55 ifeq ($(USE_DBGSYM
),yes
)
56 dh_strip_args
= -p
$(1) --dbgsym-migration
='$(1)-dbg (<= 1.43-1)'
57 dh_strip_args2
= -p
$(1) --dbgsym-migration
='$(2)-dbg (<= 1.43-1)'
59 dh_strip_args
= -p
$(1) --dbg-package
=$(1)-dbg
60 dh_strip_args2
= -p
$(1) --dbg-package
=$(2)-dbg
61 DBG_PACKAGES
+= -pe2fsprogs-dbg
-plibext2fs-dbg
-plibcom-err2-dbg
-plibss2-dbg
62 export DEB_BUILD_PROFILES
+= pkg.e2fsprogs.legacy-dbg
65 # find the version for the main package, from changelog file
66 MAIN_VERSION
= $(shell head
-n
1 debian
/changelog | cut
'-d ' -f
2 | sed
's/[()]//g')
67 # find versions for libraries going into their own packages, from their Makefile.in's,
68 # and sonames for all libs
69 COMERR_VERSION ?
= $(shell grep ELF_VERSION lib
/et
/Makefile.in | cut
'-d ' -f3
)
70 COMERR_SOVERSION ?
= $(shell grep ELF_SO_VERSION lib
/et
/Makefile.in | cut
'-d ' -f3
)
71 SS_VERSION ?
= $(shell grep ELF_VERSION lib
/ss
/Makefile.in | cut
'-d ' -f3
)
72 SS_SOVERSION ?
= $(shell grep ELF_SO_VERSION lib
/ss
/Makefile.in | cut
'-d ' -f3
)
74 EXT2FS_SOVERSION ?
= $(shell grep ELF_SO_VERSION lib
/ext2fs
/Makefile.in | cut
'-d ' -f3
)
75 E2P_SOVERSION ?
= $(shell grep ELF_SO_VERSION lib
/e2p
/Makefile.in | cut
'-d ' -f3
)
79 topdir ?
= $(shell pwd
)
80 debdir ?
= ${topdir}/debian
81 tmpdir ?
= ${debdir}/tmp
82 udebdir ?
= ${debdir}/e2fsprogs-udeb
83 libcomerrdir ?
= ${debdir}/libcom-err
${COMERR_SOVERSION}
84 comerrdevdir ?
= ${debdir}/comerr-dev
85 libcomerrdbgdir ?
= ${debdir}/libcom-err2-dbg
86 libssdir ?
= ${debdir}/libss
${SS_SOVERSION}
87 ssdevdir ?
= ${debdir}/ss-dev
88 libssdbgdir ?
= ${debdir}/libss2-dbg
89 libext2dir ?
= ${debdir}/libext2fs2
90 libext2devdir ?
= ${debdir}/libext2fs-dev
91 libext2dbgdir ?
= ${debdir}/libext2fs2-dbg
92 maindir ?
= ${debdir}/e2fsprogs
93 e2fsckstaticdir ?
= ${debdir}/e2fsck-static
94 debugdir ?
= ${debdir}/e2fsprogs-dbg
95 stdbuilddir ?
= ${debdir}/BUILD-STD
96 # docdir ?= ${maindir}/usr/share/doc/${package}
97 MANDIR ?
= /usr
/share
/man
98 mandir ?
= ${tmpdir}${MANDIR}
100 UDEB_NAME ?
= $(package
)-udeb_
$(MAIN_VERSION
)_
$(DEB_HOST_ARCH
).udeb
101 UDEB_PRIORITY ?
= $(shell grep
'^Package: e2fsprogs-udeb' debian
/control
-A
10 | grep ^Priority
: | cut
-d
' ' -f
2)
103 STAMPSDIR ?
= debian
/stampdir
104 CFGDH ?
= ${STAMPSDIR}/configure-dh
105 CFGSTDSTAMP ?
= ${STAMPSDIR}/configure-std-stamp
106 CFGBFSTAMP ?
= ${STAMPSDIR}/configure-bf-stamp
107 BUILDSTDSTAMP ?
= ${STAMPSDIR}/build-std-stamp
108 BUILDBFSTAMP ?
= ${STAMPSDIR}/build-bf-stamp
111 INSTALL_PROGRAM ?
= $(INSTALL
) -p
-o root
-g root
-m
0755
113 #ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
114 #INSTALL_PROGRAM += -s
117 ifneq (,$(findstring update-symbols
,$(DEB_BUILD_OPTIONS
)))
118 SYMBOL_LIBS
:= libext2fs libcomerr2 libss2
121 DEFAULT_CFLAGS ?
= -g
-O2
122 DEFAULT_LDFLAGS ?
= -Wl
,-Bsymbolic-functions
124 CFLAGS ?
= $(shell if dpkg-buildflags
> /dev
/null
2>&1 ; then \
125 DEB_BUILD_MAINT_OPTIONS
=$(DEB_BUILD_MAINT_OPTIONS
) \
126 dpkg-buildflags
--get CFLAGS
; else echo
$(DEFAULT_CFLAGS
) ; fi
)
127 LDFLAGS ?
= $(shell if dpkg-buildflags
> /dev
/null
2>&1 ; then \
128 DEB_BUILD_MAINT_OPTIONS
=$(DEB_BUILD_MAINT_OPTIONS
) \
129 dpkg-buildflags
--get LDFLAGS
; else echo
$(DEFAULT_LDFLAGS
) ; fi
)
130 CPPFLAGS ?
= $(shell if dpkg-buildflags
> /dev
/null
2>&1 ; then \
131 DEB_BUILD_MAINT_OPTIONS
=$(DEB_BUILD_MAINT_OPTIONS
) \
132 dpkg-buildflags
--get CPPFLAGS
; fi
)
134 ifeq (${DEB_HOST_ARCH},alpha
)
135 CFLAGS
+= -DHAVE_NETINET_IN_H
137 CFLAGS
+= -D__NO_STRING_INLINES
140 E2FSCK_STATIC
= ${stdbuilddir}/e2fsck
/e2fsck.static
142 CFLAGS_SHLIB
= $(CFLAGS
)
143 CFLAGS_STLIB
= $(CFLAGS
)
144 LDFLAGS_SHLIB
= $(LDFLAGS
)
145 LDFLAGS_STATIC
= $(filter-out -fPIE
-fpie
-pie
,$(LDFLAGS
))
147 ifneq ($(SKIP_UDEB
),)
151 ifeq ($(SKIP_BF
),yes
)
153 bfbuilddir ?
= ${stdbuilddir}
156 bfbuilddir ?
= ${debdir}/BUILD-BF
159 BF_CFLAGS
= -Os
-fomit-frame-pointer
161 UTIL_CONF_FLAGS ?
= --disable-fsck
--disable-libblkid \
162 --disable-libuuid
--disable-uuidd
164 ifneq ($(SKIP_FUSE2FS
),)
165 UTIL_CONF_FLAGS
+= --disable-fuse2fs
168 BACKTRACE_CONF_FLAGS ?
= $(shell if
${debdir}/scripts
/test-backtrace
; then echo
--disable-backtrace
; fi
)
170 COMMON_CONF_FLAGS
= --enable-lto
--disable-ubsan
--disable-addrsan \
171 --disable-threadsan
--disable-e2initrd-helper \
172 --infodir=/usr
/share
/info --enable-symlink-install \
173 --with-multiarch
=$(DEB_HOST_MULTIARCH
) \
174 $(BACKTRACE_CONF_FLAGS
) $(UTIL_CONF_FLAGS
)
176 STD_CONF_FLAGS ?
= --enable-elf-shlibs
178 BF_CONF_FLAGS ?
= --enable-elf-shlibs
--disable-nls
--disable-imager \
179 --disable-testio-debug
--disable-uuidd
--disable-tls \
180 --disable-tdb
--disable-debugfs
185 INSTALL_UDEB
= install-udeb
189 ifneq ($(USE_DBGSYM
),yes
)
190 if
test ! -f debian
/control.save
; then \
191 mv debian
/control debian
/control.save
; \
192 cat debian
/control.save debian
/control.legacy-dbg \
193 >> debian
/control
; \
198 if
test -f debian
/control.save
; then \
199 mv debian
/control.save debian
/control
; \
203 ifeq ($(USE_DH9
),yes
)
204 mv debian
/compat debian
/compat.save
205 echo
9 > debian
/compat
206 mv debian
/e2fsprogs.postinst debian
/e2fsprogs.postinst.save
207 cp debian
/e2fsprogs.postinst.dh9 debian
/e2fsprogs.postinst
208 cp debian
/e2fsprogs.postrm.dh9 debian
/e2fsprogs.postrm
210 mkdir
-p
${STAMPSDIR}
213 ${CFGSTDSTAMP}: ${CFGDH}
215 if which dh_update_autotools_config
> /dev
/null
2>&1 ; then \
216 dh_update_autotools_config
;\
219 # Make sure we don't try to rebuild the configure scripts
220 find .
-name configure | xargs touch
222 mkdir
-p
${stdbuilddir}
223 ifeq ($(DEB_BUILD_ARCH
),$(DEB_HOST_ARCH
))
224 cd
${stdbuilddir} && AWK
=/usr
/bin
/awk \
225 ..
/..
/configure
${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \
226 ${EXTRA_CONF_FLAGS} CFLAGS
="${CFLAGS}" CPPFLAGS
="$(CPPFLAGS)" \
227 LDFLAGS
="$(LDFLAGS)" CFLAGS_SHLIB
="$(CFLAGS_SHLIB)" \
228 CFLAGS_STLIB
="$(CFLAGS_STLIB)" \
229 LDFLAGS_SHLIB
="$(LDFLAGS_SHLIB)" \
230 LDFLAGS_STATIC
="$(LDFLAGS_STATIC)"
232 cd
${stdbuilddir} && AWK
=/usr
/bin
/awk CC
="${DEB_HOST_GNU_TYPE}-gcc" \
233 ..
/..
/configure
${COMMON_CONF_FLAGS} ${STD_CONF_FLAGS} \
234 ${EXTRA_CONF_FLAGS} --build
=$(DEB_BUILD_GNU_TYPE
) \
235 --host
=$(DEB_HOST_GNU_TYPE
) CFLAGS
="${CFLAGS}" \
236 CPPFLAGS
="$(CPPFLAGS)" CFLAGS_SHLIB
="$(CFLAGS_SHLIB)" \
237 CFLAGS_STLIB
="$(CFLAGS_STLIB)" \
238 LDFLAGS
="$(LDFLAGS)" \
239 LDFLAGS_SHLIB
="$(LDFLAGS_SHLIB)" \
240 LDFLAGS_STATIC
="$(LDFLAGS_STATIC)"
243 mkdir
-p
${STAMPSDIR}
246 ${CFGBFSTAMP}: ${CFGDH}
248 if which dh_update_autotools_config
> /dev
/null
2>&1 ; then \
249 dh_update_autotools_config
;\
253 mkdir
-p
${bfbuilddir}
254 ifeq ($(DEB_BUILD_ARCH
),$(DEB_HOST_ARCH
))
255 cd
${bfbuilddir} && AWK
=/usr
/bin
/awk \
256 ..
/..
/configure
${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \
257 ${EXTRA_CONF_FLAGS} CFLAGS
="${CFLAGS} ${BF_CFLAGS}" \
258 CPPFLAGS
="$(CPPFLAGS)" LDFLAGS
="$(LDFLAGS)" \
259 CFLAGS_SHLIB
="$(CFLAGS_SHLIB)" \
260 CFLAGS_STLIB
="$(CFLAGS_STLIB)" \
261 LDFLAGS_SHLIB
="$(LDFLAGS_SHLIB)" \
262 LDFLAGS_STATIC
="$(LDFLAGS_STATIC)"
264 cd
${bfbuilddir} && AWK
=/usr
/bin
/awk CC
="${DEB_HOST_GNU_TYPE}-gcc" \
265 ..
/..
/configure
${COMMON_CONF_FLAGS} ${BF_CONF_FLAGS} \
266 ${EXTRA_CONF_FLAGS} --build
=$(DEB_BUILD_GNU_TYPE
) \
267 --host
=$(DEB_HOST_GNU_TYPE
) CFLAGS
="${CFLAGS}" \
268 CPPFLAGS
="$(CPPFLAGS)" LDFLAGS
="$(LDFLAGS)" \
269 CFLAGS_SHLIB
="$(CFLAGS_SHLIB)" \
270 CFLAGS_STLIB
="$(CFLAGS_STLIB)" \
271 LDFLAGS_SHLIB
="$(LDFLAGS_SHLIB)" \
272 LDFLAGS_STATIC
="$(LDFLAGS_STATIC)"
274 mkdir
-p
${STAMPSDIR}
279 build
: build-std
$(BUILD_BF
)
281 build-std
: ${BUILDSTDSTAMP}
282 ${BUILDSTDSTAMP}: ${CFGSTDSTAMP}
284 $(MAKE
) -C
${stdbuilddir} V
=1 all
285 ifneq ($(SKIP_E2FSCK_STATIC
),yes
)
286 $(MAKE
) -C
${stdbuilddir}/e2fsck V
=1 e2fsck.static
288 if
! test -d debian
/orig-gmo
; then \
289 mkdir debian
/orig-gmo
; \
290 mv po
/*.gmo po
/*.po debian
/orig-gmo
; \
291 cp debian
/orig-gmo
/*.po po
; \
293 $(MAKE
) -C
${stdbuilddir}/po V
=1 update-gmo
295 ( cd
${stdbuilddir}/doc
&& $(MAKE
) V
=1 libext2fs.html
)
296 ( cd
${stdbuilddir}/lib
/et
&& $(MAKE
) V
=1 com_err.
info com_err.html
)
298 touch
${BUILDSTDSTAMP}
300 build-bf
: ${BUILDBFSTAMP}
301 ${BUILDBFSTAMP}: ${CFGBFSTAMP}
303 $(MAKE
) -C
${bfbuilddir} V
=1 libs
304 $(MAKE
) -C
${bfbuilddir}/e2fsck V
=1 all
305 $(MAKE
) -C
${bfbuilddir}/misc V
=1 all
306 $(MAKE
) -C
${bfbuilddir}/resize V
=1 all
307 touch
${BUILDBFSTAMP}
311 if
test -d debian
/orig-gmo
; then \
312 rm -f po
/*.gmo po
/*.po
; \
313 mv debian
/orig-gmo
/* po
; \
314 rmdir debian
/orig-gmo
; \
316 if
test -f debian
/compat.save
; then \
317 mv debian
/compat.save debian
/compat
; \
319 if
test -f debian
/e2fsprogs.postinst.save
; then \
320 mv debian
/e2fsprogs.postinst.save debian
/e2fsprogs.postinst
; \
322 if
test -f debian
/e2fsprogs.postrm
; then \
323 rm -f debian
/e2fsprogs.postrm
; \
326 [ ! -f
${stdbuilddir}/Makefile
] ||
$(MAKE
) -C
${stdbuilddir} V
=1 distclean
327 [ ! -f
${bfbuilddir}/Makefile
] ||
$(MAKE
) -C
${bfbuilddir} V
=1 distclean
328 [ ! -f
${staticbuilddir}/Makefile
] ||
$(MAKE
) -C
${staticbuilddir} V
=1 distclean
329 rm -rf
${stdbuilddir} ${bfbuilddir} ${staticbuilddir}
330 rm -f debian
/*.substvars
339 mkdir
-p
${tmpdir}/sbin
340 $(MAKE
) -C
${stdbuilddir} V
=1 install DESTDIR
=${tmpdir} \
341 INSTALL_PROGRAM
="${INSTALL_PROGRAM}" LDCONFIG
=true
342 # static libs and .h files
343 $(MAKE
) -C
${stdbuilddir} V
=1 install-libs DESTDIR
=${tmpdir} LDCONFIG
=true
345 ifneq ($(SKIP_E2FSCK_STATIC
),yes
)
346 # statically-linked fsck
347 ${INSTALL_PROGRAM} $(E2FSCK_STATIC
) ${tmpdir}/sbin
348 cp
${mandir}/man8
/e2fsck
.8 ${mandir}/man8
/e2fsck.static
.8
351 ifeq ($(DEB_HOST_ARCH_OS
), hurd
)
352 ${INSTALL} -m
0644 misc
/mke2fs-hurd.conf
${tmpdir}/etc
/mke2fs.conf
356 test -z
"`find ${tmpdir} -type f`"
362 $(MAKE
) -C
${bfbuilddir} V
=1 install-shlibs-libs-recursive DESTDIR
=${udebdir} \
363 INSTALL_PROGRAM
="${INSTALL_PROGRAM}" LDCONFIG
=true
364 $(MAKE
) -C
${bfbuilddir}/e2fsck V
=1 install DESTDIR
=${udebdir} \
365 INSTALL_PROGRAM
="${INSTALL_PROGRAM}" LDCONFIG
=true
366 $(MAKE
) -C
${bfbuilddir}/misc V
=1 install DESTDIR
=${udebdir} \
367 INSTALL_PROGRAM
="${INSTALL_PROGRAM}" LDCONFIG
=true
368 $(MAKE
) -C
${bfbuilddir}/resize V
=1 install DESTDIR
=${udebdir} \
369 INSTALL_PROGRAM
="${INSTALL_PROGRAM}" LDCONFIG
=true
371 rm -rf
${udebdir}/usr
372 find
${udebdir}/sbin
-type f
-a
! -name e2fsck \
373 -a
! -name mke2fs
-a
! -name tune2fs \
374 -a
! -name resize2fs
-a
! -name badblocks
-print | xargs
rm
376 (cd
${udebdir}/sbin
; ln
-sf e2fsck fsck.ext2
; \
377 ln
-sf e2fsck fsck.ext3
; ln
-sf e2fsck fsck.ext4
; \
378 ln
-sf mke2fs mkfs.ext2
; ln
-sf mke2fs mkfs.ext3
; \
379 ln
-sf mke2fs mkfs.ext4
)
381 binary-indep
: install
386 dh_installchangelogs
-i
394 binary-arch
: install $(INSTALL_UDEB
)
400 # symlinks to prepare dh_installdocs run
402 mkdir
-p
${debdir}/libss
${SS_SOVERSION}/usr
/share
/doc
/libss
${SS_SOVERSION}
403 mkdir
-p
${debdir}/ss-dev
/usr
/share
/doc
405 mkdir
-p
${debdir}/libcom-err
${COMERR_SOVERSION}/usr
/share
/doc
/libcom-err
${COMERR_SOVERSION}
406 mkdir
-p
${debdir}/comerr-dev
/usr
/share
/doc
408 mkdir
-p
${debdir}/libext2fs2
/usr
/share
/doc
/libext2fs
409 mkdir
-p
${debdir}/libext2fs-dev
/usr
/share
/doc
411 dh_installdocs
-a
-Ne2fsprogs-udeb
414 $(INSTALL
) -d
${debdir}/libext2fs-dev
/usr
/share
/doc
/libext2fs
/html-info
/
415 $(INSTALL
) -p
-m
0644 ${stdbuilddir}/doc
/*.html \
416 ${debdir}/libext2fs-dev
/usr
/share
/doc
/libext2fs
/html-info
/
417 $(INSTALL
) -d
${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
/html-info
/
418 $(INSTALL
) -p
-m
0644 ${stdbuilddir}/lib
/et
/*.html \
419 ${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
/html-info
/
422 mkdir
-p
${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
423 $(INSTALL
) -p
-m
0644 ${topdir}/doc
/libext2fs.texinfo \
424 ${debdir}/libext2fs-dev
/usr
/share
/doc
/libext2fs
/libext2fs.texi
425 $(INSTALL
) -p
-m
0644 ${topdir}/lib
/et
/com_err.texinfo \
426 ${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
/com_err.texi
428 $(INSTALL
) -d
${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
/examples
429 $(INSTALL
) -p
-m
0644 lib
/ss
/ss_err.et \
430 ${stdbuilddir}/lib
/ext2fs
/ext2_err.et \
431 ${debdir}/comerr-dev
/usr
/share
/doc
/comerr-dev
/examples
432 $(INSTALL
) -d
${debdir}/ss-dev
/usr
/share
/doc
/ss-dev
/examples
433 $(INSTALL
) -p
-m
0644 debugfs
/debug_cmds.ct \
434 ${debdir}/ss-dev
/usr
/share
/doc
/ss-dev
/examples
436 dh_installinfo
-pcomerr-dev
${stdbuilddir}/lib
/et
/com_err.
info
437 dh_installinfo
-plibext2fs-dev
${stdbuilddir}/doc
/libext2fs.
info
439 dh_installchangelogs
-a
441 dh_strip
$(call dh_strip_args
,e2fsprogs
)
442 ifneq ($(SKIP_E2FSCK_STATIC
),yes
)
443 dh_strip
$(call dh_strip_args2
,e2fsck-static
,e2fsprogs
)
445 dh_strip
$(call dh_strip_args
,libext2fs2
)
446 dh_strip
$(call dh_strip_args
,libss
${SS_SOVERSION})
447 dh_strip
$(call dh_strip_args
,libcom-err
${COMERR_SOVERSION})
450 # dpkg symbol handling
451 for i in
$(SYMBOL_LIBS
); \
453 echo
"Generating symbols for $$i..."; \
454 dpkg-gensymbols
-p
$$i -Pdebian
/$$i > debian
/$$i.tmp-patch
; \
455 cat debian
/$$i.tmp-patch
; \
456 patch debian
/$$i.symbols
< debian
/$$i.tmp-patch
; \
457 /bin
/rm debian
/$$i.tmp-patch
; \
462 dh_makeshlibs
-a
--add-udeb
=e2fsprogs-udeb
463 ifneq ($(USE_DH9
),yes
)
464 dh_installsystemd
-p e2fsprogs
466 $(INSTALL
) -D
-p
-m644 debian
/e2fsprogs-udeb.lintian-overrides \
467 debian
/e2fsprogs-udeb
/usr
/share
/lintian
/overrides
/e2fsprogs-udeb
469 dh_shlibdeps
-a
-l
${stdbuilddir}/lib
470 dh_shlibdeps
-pe2fsprogs
-l
${stdbuilddir}/lib \
471 -u
"-Ldebian/e2fsprogs.shlibs.local"
473 dh_shlibdeps
-pe2fsprogs-udeb
-l
${stdbuilddir}/lib \
474 -u
"-Ldebian/e2fsprogs-udeb.shlibs.local"
476 ifeq ($(SKIP_FUSE2FS
),)
477 dh_shlibdeps
-pfuse2fs
-l
${stdbuilddir}/lib \
478 -u
"-Ldebian/e2fsprogs.shlibs.local"
481 dh_gencontrol
-a
-Ncomerr-dev
-Nss-dev
-Ne2fsprogs-udeb
482 dh_gencontrol
-pcomerr-dev \
483 -u
'-v${COMERR_VERSION}-${MAIN_VERSION} -VmainBinary=${MAIN_VERSION}'
484 dh_gencontrol
-pss-dev \
485 -u
'-v${SS_VERSION}-${MAIN_VERSION} -VmainBinary=${MAIN_VERSION}'
487 dh_gencontrol
-pe2fsprogs-udeb
-- -fdebian
/files~
491 dpkg-distaddfile
$(UDEB_NAME
) debian-installer
$(UDEB_PRIORITY
)
496 binary
: binary-indep binary-arch
499 @echo CFLAGS is
$(CFLAGS
)
500 @echo LDFLAGS is
$(LDFLAGS
)
501 @echo CPPFLAGS is
$(CPPFLAGS
)