Name libinih
Description
Version 59-1
Package Base
Homepage
Maintainers ['Yangfl <mmyangfl@gmail.com>']
Contributors []
Distro-repo https://salsa.debian.org/yangfl-guest/inih
Sources ['https://sources.debian.org/data/main/libi/libinih/59-1/debian/watch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0001-Increment-soversion.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0002-Add-runtime-options.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0003-tests-add-Makefile.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0004-tests-add-options-to-unittest.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0005-Force-INI_HANDLER_LINENO.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0006-Fix-cpp-type-of-INI_HANDLER_LINENO.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0007-Force-include-stdlib.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/0008-Set-version.patch', 'https://sources.debian.org/src/libinih/59-1/debian/patches/series']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'meson']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =


%:
	dh $@

execute_after_dh_auto_clean:
	-+$(MAKE) -C tests clean

override_dh_auto_configure:
	dh_auto_configure -- \
		-Ddefault_library=both \
		-Dwith_INIReader=true \
		-Ddistro_install=true

override_dh_auto_test:
	+$(MAKE) -C tests test CFLAGS+=-I.. LDFLAGS+="-Wl,-rpath,../obj-$(DEB_HOST_GNU_TYPE) -L../obj-$(DEB_HOST_GNU_TYPE)"