Name gettext-doc
Description Documentation for GNU gettext
Version 0.21-14ubuntu2
Package Base gettext
Homepage https://www.gnu.org/software/gettext/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/gettext/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/gettext-doc/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/01-use-system-help2man.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/02-library-dependencies.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/03-disable-libtextstyle.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/04-fix-powerpc-ftbfs.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/05-update-after-gnulib-changed.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/06-remove-unportable-tests.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/07-java-17-support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/08-disable-autopoint-3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/09-update-po-mode-1-of-3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/10-update-po-mode-2-of-3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/11-update-po-mode-3-of-3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/12-in-language-java-avoid-stack-overflow.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gettext/plain/debian/patches/series?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['bison', 'debhelper-compat', 'default-jdk [!hppa !hurd-any !kfreebsd-any] <!nojava>', 'dh-exec', 'file', 'groff', 'help2man', 'libunistring-dev', 'libxml2-dev', 'maven-repo-helper [!hppa !hurd-any !kfreebsd-any] <!nojava>', 'xz-utils']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash ab16cc59dbc263a12ac59b76531eedf17cf87633d73214118f748117150f5f7a
#!/usr/bin/make -f

%:
	dh $@ $(WITH_MAVEN)


#
# Parameters to configure.
#
CONFIGURE_OPTIONS = \
  --enable-threads \
  --disable-native-java \
  --disable-rpath \
  --without-emacs

ifneq (,$(filter maven-repo-helper,$(shell dh -l)))
  ifeq (,$(filter nojava,$(DEB_BUILD_PROFILES)))
    WITH_MAVEN = --with maven-repo-helper
  endif
endif

# On emulated m68k and sh4 targets, OpenMP can cause lockups,
# we therefore disable it for the time being.
ifneq (,$(findstring $(DEB_HOST_ARCH), m68k sh4))
  CONFIGURE_OPTIONS += --disable-openmp
else
  CONFIGURE_OPTIONS += --enable-openmp
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTIONS)


#
# Parameters to make.
#
MAKE_OPTIONS =

# Disable use of Java in gettext-tools/urlget.
# See <https://bugs.debian.org/292988>.
MAKE_OPTIONS += USEJAVA=0

override_dh_auto_build:
	dh_auto_build -- $(MAKE_OPTIONS)


#
# We package gettext-el using dh_elpa, but upstream doesn't provide
# ELPA package metadata so we have to give it some hints.
#
ELPA_NAME=po-mode
export ELPA_NAME
include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM

# gettext-el has no test suite, but the package as a whole does have a
# test suite, run by the normal dh_auto_test, that should not be skipped.
export DH_ELPA_TEST_DISABLE=disable