1
0
Fork 0
man-db/debian/rules
Daniel Baumann 0753cdaf16
Adding debian version 2.13.1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:13:56 +02:00

45 lines
1.4 KiB
Makefile
Executable file

#! /usr/bin/make -f
%:
dh $@ --builddirectory=debian/build
include /usr/share/dpkg/architecture.mk
dtmp = debian/man-db
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
# Use DT_RUNPATH rather than DT_RPATH, so that LD_LIBRARY_PATH works properly.
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--enable-new-dtags
ifeq ($(DEB_HOST_ARCH),hurd-i386)
Y2038 = --disable-year2038
endif
override_dh_autoreconf:
dh_autoreconf ./bootstrap -- \
--gnulib-srcdir=/usr/share/gnulib --no-git --skip-po
# --libdir is set here because debhelper defaults to using
# multiarch paths at compat level 9, which is a reasonable choice in general
# but unnecessary here.
override_dh_auto_configure:
dh_auto_configure -- \
--libdir=\$${prefix}/lib \
--disable-setuid \
--with-device=latin1 \
--with-config-file=/etc/manpath.config \
--with-browser=www-browser --with-pager=pager \
--with-col=col --with-vgrind=vgrind --with-grap=grap \
--with-compress=compress --with-bzip2=bzip2 \
--with-xz=xz --with-lzip=lzip --with-lzma=lzma \
--with-zstd=zstd \
--with-sections='1 n l 8 3 0 2 3type 3posix 3pm 3perl 3am 5 4 9 6 7' \
$(Y2038)
execute_after_dh_auto_install:
rm -f $(dtmp)/usr/lib/man-db/*.la
execute_after_dh_install:
dh_apparmor --profile-name=usr.bin.man
# Our shared libraries are private.
override_dh_makeshlibs: