Name m4-doc
Description Documentation for GNU m4
Version 1.4.19-8
Package Base m4
Homepage https://www.gnu.org/software/m4/
Maintainers ['Santiago Vila <sanvila@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/sanvila/m4
Sources ['https://sources.debian.org/data/main/m/m4/1.4.19-8/debian/watch', 'https://sources.debian.org/src/m4/1.4.19-8/debian/patches/01-remove-date-from-m4-texinfo-file.patch', 'https://sources.debian.org/src/m4/1.4.19-8/debian/patches/02-add-support-for-loongarch.patch', 'https://sources.debian.org/src/m4/1.4.19-8/debian/patches/disable-failing-tests.patch', 'https://sources.debian.org/src/m4/1.4.19-8/debian/patches/series']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'libsigsegv-dev', 'texinfo']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 89bffad94695c83d29bfafd42aacd523a358884d75dfe6ed2c5473389ac3cc77
#!/usr/bin/make -f

package = m4

export DEB_BUILD_MAINT_OPTIONS = hardening=-format
export DEB_CFLAGS_MAINT_APPEND = -std=c17

%:
	dh $@

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -rf doc/$(package)

# override_dh_autoreconf:

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath

override_dh_auto_test:
	rm -f checks/198.sysval
	dh_auto_test

override_dh_installdocs-indep:
	cd doc && makeinfo --html --output=$(package) $(package).texi
	dh_installdocs -i doc/$(package)/*.html

override_dh_installdocs-arch:
	dh_installdocs -a NEWS README TODO THANKS

override_dh_installchangelogs:
	dh_installchangelogs --no-trim