]> err.no Git - dpkg/commitdiff
Ignore the man pages when building without NLS support
authorGuillem Jover <guillem@debian.org>
Mon, 24 Dec 2007 17:25:04 +0000 (19:25 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 24 Dec 2007 17:25:04 +0000 (19:25 +0200)
Closes: #457673
debian/changelog
man/ChangeLog
man/Makefile.am

index d63aa0d9cc72da19ebc08b6990517b47f78bebbc..c832f49a923b1f67d828cdaa0f95d62a30225d11 100644 (file)
@@ -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
index f83be71551963599dca6c34b0e7427fa4e19c40e..0fcad6b5a7be7ac7f849e116179afd453efd0151 100644 (file)
@@ -1,3 +1,17 @@
+2007-12-24  Guillem Jover  <guillem@debian.org>
+
+       * 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  <debian@helgefjell.de>
 
        * po/de.po: Updated to 1347t0f36u.
index a23d63decbc428e083a89c4a5140aeba77ddafc9..42b17afc4339d00d52c9bca0bce34ba0442052eb 100644 (file)
@@ -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]); \