From f4d708276a33a6c4b068f73762c1d40605ed85cb Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 24 Dec 2007 19:25:04 +0200 Subject: [PATCH] Ignore the man pages when building without NLS support Closes: #457673 --- debian/changelog | 3 +++ man/ChangeLog | 14 ++++++++++++++ man/Makefile.am | 20 ++++++++++++++++---- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index d63aa0d9..c832f49a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,9 @@ dpkg (1.14.13) UNRELEASED; urgency=low version requirement possibly encoded in the Build-Depends field and make sure that the generated dependency is at least as strict as this one. + [ Guillem Jover ] + * Ignore the man pages when building without NLS support. Closes: #457673 + [ Updated dpkg translations ] * Swedish (Peter Karlsson) * Spanish (Javier Fernández-Sanguino Peña). Closes: #456984 diff --git a/man/ChangeLog b/man/ChangeLog index f83be715..0fcad6b5 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,17 @@ +2007-12-24 Guillem Jover + + * Makefile.am (all-local): Rename to ... + (all-local-yes): ... this. + (clean-local): Rename to ... + (clean-local-yes): ... this. + (install-data-local): Rename to ... + (install-data-local-yes): ... this. + (uninstall-local): Rename to ... + (uninstall-local-yes): ... this. + (all-local, all-local-no, clean-local, clean-local-no): New targets. + (install-data-local, install-data-local-no): Likewise. + (uninstall-local, uninstall-local-no): Likewise. + 2007-12-22 Helge Kreutzmann * po/de.po: Updated to 1347t0f36u. diff --git a/man/Makefile.am b/man/Makefile.am index a23d63de..42b17afc 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,6 +1,9 @@ ## Process this file with automake to produce Makefile.in -all-local: man.stamp +all-local: all-local-@USE_NLS@ + +all-local-no: +all-local-yes: man.stamp # FIXME: Use a stamp file until po4a supports them internally. man.stamp: @@ -8,7 +11,10 @@ man.stamp: $(srcdir)/po/po4a.cfg touch $@ -clean-local: +clean-local: clean-local-@USE_NLS@ + +clean-local-no: +clean-local-yes: po4a --rm-backups --rm-translations --variable srcdir=$(srcdir) \ $(srcdir)/po/po4a.cfg rm -f man.stamp @@ -21,7 +27,10 @@ update-po: # Extract the list of languages from the po4a config file. LINGUAS = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg) -install-data-local: +install-data-local: install-data-local-@USE_NLS@ + +install-data-local-no: +install-data-local-yes: for lang in $(LINGUAS); do \ if [ -d $(srcdir)/$$lang ]; then \ files=$$(echo $(srcdir)/$$lang/*.[1-9]); \ @@ -32,7 +41,10 @@ install-data-local: fi \ done -uninstall-local: +uninstall-local: uninstall-local-@USE_NLS@ + +uninstall-local-no: +uninstall-local-yes: for lang in $(LINGUAS); do \ if [ -d $(srcdir)/$$lang ]; then \ files=$$(echo $(srcdir)/$$lang/*.[1-9]); \ -- 2.39.5