Name autoconf-doc
Description automatic configure script builder documentation
Version 2.72-3.1
Package Base autoconf
Homepage https://www.gnu.org/software/autoconf/
Maintainers ['Alex Myczko <tar@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/autoconf
Sources ['https://sources.debian.org/data/main/a/autoconf/2.72-3.1/debian/watch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/AM_PROG_LIBTOOL.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/add-runstatedir.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/atomic.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/avoid-undefined-behavior-for-32bit-off_t.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/fix-cxx-stdcxx-test.diff', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/mmap-leak-fix.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/port-ac_sys_largefile-to-cxx.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/series', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/stricter-versioning.patch', 'https://sources.debian.org/src/autoconf/2.72-3.1/debian/patches/unescaped-left-brace-warning-fix.patch']
Dependencies ['gnu-standards']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 3a1ff76e80b7065a0daf2391a73540fb44a3b5860e7379be5dfa78cc30bf8385
#!/usr/bin/make -f
%:
ifeq ($(DEB_BUILD_PROFILE),stage1)
	dh $@ -Nautoconf-doc
else
	dh $@
endif

# Ensure texlive respects SOURCE_DATE_EPOCH
export FORCE_SOURCE_DATE=1

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean

override_dh_auto_configure:
	# Ensure nothing tries to re-bootstrap Autoconf with itself.
	touch configure `find . -name Makefile.in`
	dh_auto_configure -- EMACS=no --with-lispdir= SHELL=/bin/sh
	# Force manpages to get rebuilt with correct version number.
	touch man/*.x

override_dh_auto_build:
	dh_auto_build
ifneq ($(DEB_BUILD_PROFILE),stage1)
	$(MAKE) html info pdf ps
endif

override_dh_auto_test:

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
ifneq ($(DEB_BUILD_PROFILE),stage1)
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
	    install-html install-info install-pdf install-ps install-man
endif
	perl -pi -e 's/^my \$$VERSION.*/my \$$VERSION = "'"`dpkg-parsechangelog -SDate`"'";/;' \
	    debian/tmp/usr/share/autoconf/Autom4te/C4che.pm

override_dh_missing:
	dh_missing --list-missing