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
|
#!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export RUN_VERY_EXPENSIVE_TESTS := yes
export RUN_EXPENSIVE_TESTS := yes
ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
MAKEINFO = true
export MAKEINFO
endif
ifeq ($(DEB_HOST_ARCH),hurd-i386)
Y2038 = --disable-year2038
endif
override_dh_auto_configure:
dh_auto_configure --verbose -- \
--localstatedir=/var/cache/locate \
--enable-d_type-optimisation \
$(Y2038)
override_dh_auto_clean:
[ ! -f Makefile ] || dh_auto_clean --verbose
rm -fv doc/find.info*
override_dh_auto_install:
dh_auto_install --verbose
cd "$(CURDIR)/debian/tmp/usr/" && \
for i in updatedb locate ; do \
mv -v bin/$$i bin/$$i.findutils ; \
mv -v share/man/man1/$${i}.1 share/man/man1/$${i}.findutils.1 ; \
done
%:
dh $@
|