Move version.sh to build-aux.
This commit is contained in:
parent
84af9d8770
commit
17d3c61edd
|
@ -32,13 +32,13 @@ EXTRA_DIST = \
|
||||||
dos \
|
dos \
|
||||||
windows \
|
windows \
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
version.sh \
|
|
||||||
Doxyfile.in \
|
Doxyfile.in \
|
||||||
COPYING.GPLv2 \
|
COPYING.GPLv2 \
|
||||||
COPYING.GPLv3 \
|
COPYING.GPLv3 \
|
||||||
COPYING.LGPLv2.1 \
|
COPYING.LGPLv2.1 \
|
||||||
INSTALL.generic \
|
INSTALL.generic \
|
||||||
PACKAGERS
|
PACKAGERS \
|
||||||
|
build-aux/version.sh
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
AC_PREREQ([2.64])
|
AC_PREREQ([2.64])
|
||||||
|
|
||||||
AC_INIT([XZ Utils], m4_esyscmd([/bin/sh version.sh]),
|
AC_INIT([XZ Utils], m4_esyscmd([/bin/sh build-aux/version.sh]),
|
||||||
[lasse.collin@tukaani.org], [xz], [http://tukaani.org/xz/])
|
[lasse.collin@tukaani.org], [xz], [http://tukaani.org/xz/])
|
||||||
AC_CONFIG_SRCDIR([src/liblzma/common/common.h])
|
AC_CONFIG_SRCDIR([src/liblzma/common/common.h])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
|
|
@ -172,7 +172,7 @@ txtcp pkg "" windows/README-Windows.txt
|
||||||
|
|
||||||
# Create the package. This requires 7z.exe from 7-Zip. If it wasn't found,
|
# Create the package. This requires 7z.exe from 7-Zip. If it wasn't found,
|
||||||
# this step is skipped and you have to zip it yourself.
|
# this step is skipped and you have to zip it yourself.
|
||||||
VER=$(sh version.sh)
|
VER=$(sh build-aux/version.sh)
|
||||||
cd pkg
|
cd pkg
|
||||||
if [ -x "$SEVENZ_EXE" ]; then
|
if [ -x "$SEVENZ_EXE" ]; then
|
||||||
"$SEVENZ_EXE" a -tzip ../xz-$VER-windows.zip *
|
"$SEVENZ_EXE" a -tzip ../xz-$VER-windows.zip *
|
||||||
|
|
Loading…
Reference in New Issue