The following commit has been merged in the master branch:
commit df0845efa08dfb711699f175b4d97e3cc438cc17
Author: Guillem Jover <[email protected]>
Date:   Wed Aug 26 17:17:39 2009 +0200

    man: Use po4a “--previous” support when updating the man pages
    
    Suggested-by: Christian Perrier <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index aafe5b5..b5a823e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ dpkg (1.15.4) UNRELEASED; urgency=low
     in dpkg man page.
   * Change po4a usage to not create unwated changes depending if doing out or
     in-tree builds.
+  * Use po4a “--previous” support when updating the man pages.
+    Suggested by Christian Perrier <[email protected]>.
 
   [ Raphael Hertzog ]
   * Replace install-info by a wrapper around GNU's install-info. The wrapper
diff --git a/man/Makefile.am b/man/Makefile.am
index 7baa590..8ee55cd 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -5,7 +5,7 @@ all-local: all-loc...@use_nls@
 all-local-no:
 all-local-yes: man.stamp
 
-PO4A_COMMON_OPTS = --variable builddir=$(CURDIR)
+PO4A_COMMON_OPTS = --previous --variable builddir=$(CURDIR)
 PO4A_BUILD_OPTS = $(PO4A_COMMON_OPTS) --no-backups
 PO4A_CLEAN_OPTS = $(PO4A_COMMON_OPTS) --rm-backups --rm-translations
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to