remove updatemakes script, it is just an indirection calling helper.pl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
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