[Gpg4win-commits] r1030 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 11 16:23:26 CET 2008


Author: werner
Date: 2008-11-11 16:23:26 +0100 (Tue, 11 Nov 2008)
New Revision: 1030

Modified:
   trunk/src/Makefile.am
Log:
Fix potomo call.


Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am	2008-11-11 11:30:14 UTC (rev 1029)
+++ trunk/src/Makefile.am	2008-11-11 15:23:26 UTC (rev 1030)
@@ -108,8 +108,8 @@
     sed -e 's/$$$$/\r/' > $$$${pkgidir}/share/man/man1/$$$${i}.man ; \
  done ; \
  for i in `$(tsdir)/src/potomo --get-linguas $$$${pkgsdir}/po` ; do \
-     $(MKDIR_P) $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES; \
-     rm $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/gnupg2.mo; \
+     $(MKDIR_P) $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES || true; \
+     rm $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/gnupg2.mo || true; \
      $(tsdir)/src/potomo $$$${pkgsdir}/po/$$$${i}.po \
               $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/gnupg2.mo; \
  done)
@@ -133,9 +133,9 @@
 # libgpg-error proper.
 define gpg4win_pkg_libgpg_error_post_install
 (for i in `$(tsdir)/src/potomo --get-linguas $$$${pkgsdir}/po` ; do \
-     rm $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo; \
-     $(tsdir)/src/potomo $$$${pkgsdir}/po/$$$${i}.po \
-                      $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo; \
+   rm $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo || true; \
+   $(tsdir)/src/potomo $$$${pkgsdir}/po/$$$${i}.po \
+             $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo; \
  done)
 endef
 



More information about the Gpg4win-commits mailing list