Name automake
Description Tool for generating GNU Standards-compliant Makefiles
Version 1:1.16.5-1.3ubuntu1
Package Base automake-1.16
Homepage https://www.gnu.org/software/automake/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/automake-1.16/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/0001-texi-rename.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/0002-Drop-SHELL.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/0003-t-python-prefix.sh-Respect-PYTHON-environment-variable.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/python3.10-sysconfig.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/python3.10.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/python3.12-do-not-import-imp.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake-1.16/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/automake/plain/debian/watch?h=ubuntu/noble']
Dependencies ['autoconf', 'autotools-dev']
Optional-Dependencies ['autoconf-doc', 'gnu-standards']
Build-Dependencies ['debhelper-compat']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 5ae9a98e73545002cd891f028859941af2a3c760cb6190e635c7ef36953912de
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

package=automake
version=1.16
infodir=doc
source_date = $(shell date -d "@$(SOURCE_DATE_EPOCH)")

%:
	dh $@ --without autoreconf --no-parallel

ifeq ($(DEB_BUILD_PROFILE),stage1)
MAKEINFO=true
export MAKEINFO
endif

override_dh_auto_test:
# Don't run the test suite, too many tests are flaky at the moment

override_dh_auto_configure:
	./bootstrap
	dh_auto_configure
ifneq ($(DEB_BUILD_PROFILE),stage1)
# Touch with SOURCE_DATE_EPOCH so version.texi is generated with a stable
# date.
	touch -d "$(source_date)" doc/automake.texi
endif

override_dh_auto_build:
ifeq ($(DEB_BUILD_PROFILE),stage1)
	touch doc/automake.info
endif
	dh_auto_build

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp
#  remove automake's versions
	rm -f $(CURDIR)/debian/tmp/usr/share/automake-$(version)/config.sub
	rm -f \
		$(CURDIR)/debian/tmp/usr/share/automake-$(version)/config.guess
ifneq ($(DEB_BUILD_PROFILE),stage1)
# Rebuild the info files
	cd $(infodir) && makeinfo automake.texi
endif

override_dh_auto_clean:
	[ -f Makefile ] && dh_auto_clean || true
	rm -f $(infodir)/automake-$(version).info*