Name bison
Description YACC-compatible parser generator
Version 2:3.8.2+dfsg-1build2
Package Base
Homepage https://www.gnu.org/software/bison/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/bison/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/bison/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/bison/plain/debian/patches/01_keep_stamp_files?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/bison/plain/debian/patches/02_parse_h_dependency?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/bison/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/bison/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'm4']
Optional-Dependencies ['bison-doc']
Build-Dependencies ['debhelper-compat', 'gettext', 'flex', 'm4', 'help2man']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 18f487c400da3e968a44ecb3783a443641bcd14e2b080ed9ed1167f4aa2c1612
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

SRCDIR = $(CURDIR)
DESTDIR = $(CURDIR)/debian/tmp

%:
	dh $@

override_dh_auto_clean:
	[ ! -f $(SRCDIR)/Makefile ] || dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

execute_before_dh_autoreconf:
	echo '@setfilename bison.info' > $(SRCDIR)/doc/bison.texi

execute_before_dh_auto_build:
	# Touch all files in the dependency tree of bison.info to
	# inhibit makeinfo invocation in the build process.
	install -d $(SRCDIR)/doc/figs
	touch --date="Jan 01 2000" \
		$(SRCDIR)/doc/bison.info \
		$(SRCDIR)/doc/bison.help \
		$(SRCDIR)/doc/figs/example.txt \
		$(SRCDIR)/doc/figs/example-reduce.txt \
		$(SRCDIR)/doc/figs/example-shift.txt \
		$(SRCDIR)/doc/*.texi \
		$(SRCDIR)/build-aux/cross-options.pl \
		$(SRCDIR)/src/getargs.c

execute_after_dh_auto_install:
	$(RM) -R $(DESTDIR)/usr/share/info/
	mv $(DESTDIR)/usr/bin/yacc $(DESTDIR)/usr/bin/bison.yacc
	mv $(DESTDIR)/usr/share/man/man1/yacc.1 \
		$(DESTDIR)/usr/share/man/man1/bison.yacc.1