mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Missed CMakeLists.txt
This commit is contained in:
parent
b7badcaa37
commit
159038eb37
@ -149,7 +149,8 @@ fi
|
|||||||
|
|
||||||
VERSION_LONG="$ver_major.$ver_minor.$ver_patch.$REVISION_SVN"
|
VERSION_LONG="$ver_major.$ver_minor.$ver_patch.$REVISION_SVN"
|
||||||
|
|
||||||
SED_FILES="$DISTPATH/configure.ac \
|
SED_FILES="$DISTPATH/CMakeLists.txt \
|
||||||
|
$DISTPATH/configure.ac \
|
||||||
$DISTPATH/examples/c/advect/README.txt \
|
$DISTPATH/examples/c/advect/README.txt \
|
||||||
$DISTPATH/examples/cpp/advect/README.txt \
|
$DISTPATH/examples/cpp/advect/README.txt \
|
||||||
$DISTPATH/examples/fortran/advect/README.txt \
|
$DISTPATH/examples/fortran/advect/README.txt \
|
||||||
@ -164,6 +165,7 @@ for vsn_file in $SED_FILES
|
|||||||
do
|
do
|
||||||
if [ -e "$vsn_file" ]; then
|
if [ -e "$vsn_file" ]; then
|
||||||
sed \
|
sed \
|
||||||
|
-e "s/^ VERSION \(\([0]\|[1-9]\d*\)\.\([0]\|[1-9]\d*\.\)\([0]\|[1-9]\d*\).*\)/ VERSION $VERSION/g" \
|
||||||
-e "s/AC_INIT(.*)/AC_INIT([$NAME], [$VERSION-$REVISION], [charlton@usgs.gov])/g" \
|
-e "s/AC_INIT(.*)/AC_INIT([$NAME], [$VERSION-$REVISION], [charlton@usgs.gov])/g" \
|
||||||
-e "s/AM_LDFLAGS=-release.*/AM_LDFLAGS=-release $ver_major.$ver_minor.$ver_patch/g" \
|
-e "s/AM_LDFLAGS=-release.*/AM_LDFLAGS=-release $ver_major.$ver_minor.$ver_patch/g" \
|
||||||
-e "/#define *VER_MAJOR/s/[0-9]\+/$ver_major/" \
|
-e "/#define *VER_MAJOR/s/[0-9]\+/$ver_major/" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user