Author: cazfi
Date: Sat Jun 18 09:16:15 2016
New Revision: 32895

URL: http://svn.gna.org/viewcvs/freeciv?rev=32895&view=rev
Log:
Windows Installer build makes 'svn revert' on translation/ between
each package to build when making 'snapshot' builds.

See bug #24449

Added:
    trunk/win32/installer/cleanup_checkout.sh   (with props)
    trunk/win32/installer_msys2/cleanup_checkout.sh   (with props)
Modified:
    trunk/win32/Makefile.am
    trunk/win32/installer/Makefile
    trunk/win32/installer_msys2/Makefile

Modified: trunk/win32/Makefile.am
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/win32/Makefile.am?rev=32895&r1=32894&r2=32895&view=diff
==============================================================================
--- trunk/win32/Makefile.am     (original)
+++ trunk/win32/Makefile.am     Sat Jun 18 09:16:15 2016
@@ -25,6 +25,7 @@
                installer/freeciv-ruledit.cmd           \
                installer/Freeciv.url                   \
                installer/Makefile                      \
+               installer/cleanup_checkout.sh           \
                installer_msys2/licenses/COPYING.installer      \
                installer_msys2/create-freeciv-gtk-qt-nsi.sh    \
                installer_msys2/create-freeciv-gtk2-nsi.sh      \
@@ -46,6 +47,7 @@
                installer_msys2/freeciv-ruledit.cmd             \
                installer_msys2/Freeciv.url                     \
                installer_msys2/Makefile                        \
+               installer_msys2/cleanup_checkout.sh             \
                installer_msys2/win_arch.sh
 
 if MINGW

Modified: trunk/win32/installer/Makefile
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/win32/installer/Makefile?rev=32895&r1=32894&r2=32895&view=diff
==============================================================================
--- trunk/win32/installer/Makefile      (original)
+++ trunk/win32/installer/Makefile      Sat Jun 18 09:16:15 2016
@@ -304,9 +304,11 @@
 
 clean-install-common:
        rm -rf install-$(GUI)
+       ./cleanup_checkout.sh ../..
 
 clean-install-ruledit:
        rm -rf install-ruledit
+       ./cleanup_checkout.sh ../..
 
 clean-installer-common:
        rm -f Output/Freeciv-*-$(GUI)-setup.exe

Added: trunk/win32/installer/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/win32/installer/cleanup_checkout.sh?rev=32895&view=auto
==============================================================================
--- trunk/win32/installer/cleanup_checkout.sh   (added)
+++ trunk/win32/installer/cleanup_checkout.sh   Sat Jun 18 09:16:15 2016
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if test "x$VERSION_REVTYPE" = "xsvn" ; then
+    cd $1/translations
+    svn revert -R .
+fi

Propchange: trunk/win32/installer/cleanup_checkout.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/win32/installer_msys2/Makefile
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/win32/installer_msys2/Makefile?rev=32895&r1=32894&r2=32895&view=diff
==============================================================================
--- trunk/win32/installer_msys2/Makefile        (original)
+++ trunk/win32/installer_msys2/Makefile        Sat Jun 18 09:16:15 2016
@@ -408,9 +408,11 @@
 
 clean-install-common:
        rm -rf install-*-$(GUI)
+       ./cleanup_checkout.sh ../..
 
 clean-install-ruledit:
        rm -rf install-*-ruledit
+       ./cleanup_checkout.sh ../..
 
 clean-installer-common:
        rm -f Output/Freeciv-*-$(GUI)-setup.exe

Added: trunk/win32/installer_msys2/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/win32/installer_msys2/cleanup_checkout.sh?rev=32895&view=auto
==============================================================================
--- trunk/win32/installer_msys2/cleanup_checkout.sh     (added)
+++ trunk/win32/installer_msys2/cleanup_checkout.sh     Sat Jun 18 09:16:15 2016
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if test "x$VERSION_REVTYPE" = "xsvn" ; then
+    cd $1/translations
+    svn revert -R .
+fi

Propchange: trunk/win32/installer_msys2/cleanup_checkout.sh
------------------------------------------------------------------------------
    svn:executable = *


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to