Commit d45a80ec1c22576808d0c166ab97265e9e8989a4

Daniel Mendler 2019-05-24T12:10:07

remove updatemakes script, it is just an indirection calling helper.pl

diff --git a/makefile b/makefile
index 3c69458..4f40991 100644
--- a/makefile
+++ b/makefile
@@ -149,7 +149,7 @@ zipup: clean astyle new_file manual poster docs
 	gpg -b -a ltm-$(VERSION).zip
 
 new_file:
-	bash updatemakes.sh
+	perl helper.pl --update-makefiles || exit 1
 	perl dep.pl
 
 perlcritic:
diff --git a/makefile.mingw b/makefile.mingw
index 2a45b0e..6023ebc 100644
--- a/makefile.mingw
+++ b/makefile.mingw
@@ -1,6 +1,6 @@
 # MAKEFILE for MS Windows (mingw + gcc + gmake)
 #
-# BEWARE: variable OBJECTS is updated via ./updatemakes.sh
+# BEWARE: variable OBJECTS is updated via helper.pl
 
 ### USAGE:
 # Open a command prompt with gcc + gmake in PATH and start:
diff --git a/makefile.msvc b/makefile.msvc
index 12ec4af..ef2b472 100644
--- a/makefile.msvc
+++ b/makefile.msvc
@@ -1,6 +1,6 @@
 # MAKEFILE for MS Windows (nmake + Windows SDK)
 #
-# BEWARE: variable OBJECTS is updated via ./updatemakes.sh
+# BEWARE: variable OBJECTS is updated via helper.pl
 
 ### USAGE:
 # Open a command prompt with WinSDK variables set and start:
diff --git a/updatemakes.sh b/updatemakes.sh
deleted file mode 100755
index 917b0e4..0000000
--- a/updatemakes.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-./helper.pl --update-makefiles || exit 1
-
-makefiles=(makefile makefile.shared makefile_include.mk makefile.msvc makefile.unix makefile.mingw)
-vcproj=(libtommath_VS2008.vcproj)
-
-if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
-  git add ${makefiles[@]} ${vcproj[@]} && git commit -m 'Update makefiles'
-fi
-
-exit 0