Whamcloud - gitweb
po: rebuild the .gmo files in the debian/rules file
authorTheodore Ts'o <tytso@mit.edu>
Mon, 7 Nov 2011 01:27:04 +0000 (20:27 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Nov 2011 01:27:04 +0000 (20:27 -0500)
This commit reverts commit aff534958b0 and transfers the
responsibility of rebuilding the .gmo files to the debian/rules file,
as updating the gmo files can cause problems for other distribution's
building systems.  (We do this because we don't update the .gmo files
when doing a mid-release snapshot, since binary files can't be
represented in diff files.  So we only update the .po files, and let
the package build process take care of the .gmo files.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules
po/Makefile.in.in

index c9584af..2d8e4ea 100755 (executable)
@@ -285,6 +285,7 @@ ${BUILDSTDSTAMP}: ${CFGSTDSTAMP}
        dh_testdir
        $(MAKE) -C ${stdbuilddir} all
        $(MAKE) -C ${stdbuilddir}/e2fsck e2fsck.static
+       $(MAKE) -C ${stdbuilddir}/po update-gmo
 
        ( cd ${stdbuilddir}/doc && $(MAKE) libext2fs_abt.html )
        ( cd ${stdbuilddir}/lib/et && $(MAKE) com_err.info com_err_abt.html )
index 9864d73..8dbd0c5 100644 (file)
@@ -77,7 +77,7 @@ CATALOGS = @CATALOGS@
 
 all: all-@USE_NLS@
 
-all-yes: $(GMOFILES) @MAINTAINER_CMT@stamp-po
+all-yes: @MAINTAINER_CMT@stamp-po
 all-no:
 
 # stamp-po is a timestamp denoting the last time at which the CATALOGS have