[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-94-g540418b
From: |
Juergen Kahrs |
Subject: |
[gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-94-g540418b |
Date: |
Sun, 19 May 2013 10:37:08 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, cmake has been updated
via 540418bc7d1f84f7f1cdabbc9ccb093447f1c320 (commit)
from 2cd2431737dd088c4eb957e27aa6a1edb17aa88e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=540418bc7d1f84f7f1cdabbc9ccb093447f1c320
commit 540418bc7d1f84f7f1cdabbc9ccb093447f1c320
Author: Juergen Kahrs <address@hidden>
Date: Sun May 19 12:36:51 2013 +0200
configure script stub as suggested by Arnold.
diff --git a/cmake/configure b/cmake/configure
new file mode 100644
index 0000000..f79d4c4
--- /dev/null
+++ b/cmake/configure
@@ -0,0 +1,19 @@
+# On 2013-05-14 Arnold wrote in an e-mail:
+
+# <QUOTE)
+# I think that using CMake would be more palatable if there is also a simple
+# configure wrapper that can be used by people who build distributions. This
would
+# mean things like
+#
+# configure CC=XXXX # XXXX in { gcc, clang, tcc } or native platform cc
+# configure --prefix=/path/to/install
+#
+# And the few other current configure options like --with-whiny-user-strftime,
+# --disable-nls, etc. I don't know if we need all the standard configure
options,
+# but I do want the ones I've added in configure.ac.
+# </QUOTE)
+
+# Anyone using this script still needs an out-of-source build directory.
+# This script should first check if it was invoked from outside the source
directory.
+# Then it shall evaluate all the options and translate the options into CMake
variables.
+# Finally the script shall invoke CMake.
diff --git a/cmake/docmaker b/cmake/docmaker
index 873d946..4af7cee 100755
--- a/cmake/docmaker
+++ b/cmake/docmaker
@@ -4,6 +4,7 @@
# All remaining parameters are dependencies (file names).
if [ $# -lt 1 ] ; then
echo " $0: Incorrect number ($#) of parameters passed: $*"
+ exit 1
fi
OUTFILE=$1
shift 1
@@ -81,7 +82,7 @@ function BuildTarget()
if [ -f "$OUTFILE" ] ; then
if [ "$INFILE" -ot "$OUTFILE" ] ; then
#printf " Target %15s is up-to-date\n" $OUTFILE
- exit 0
+ COMMAND=""
fi
fi
#echo " Generating $OUTFILE from $INFILE"
@@ -94,7 +95,6 @@ for dep in $INFILES
do
#echo $OUTFILE depends on $dep
BuildTarget $dep
- :
done
BuildTarget $OUTFILE
-----------------------------------------------------------------------
Summary of changes:
cmake/configure | 19 +++++++++++++++++++
cmake/docmaker | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
create mode 100644 cmake/configure
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, cmake, updated. gawk-4.1.0-94-g540418b,
Juergen Kahrs <=