mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Move gnc-version.h and gnc-svninfo.h from gnome-utils to core-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19928 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -47,7 +47,7 @@ rm -rf ${_DIST_UDIR}
|
||||
_BUILD_UDIR=`unix_path $BUILD_DIR`
|
||||
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
|
||||
PKG_VERSION=`grep PACKAGE_VERSION ${_BUILD_UDIR}/config.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
SVN_REV=`grep GNUCASH_SVN_REV ${_BUILD_UDIR}/src/gnome-utils/gnc-svninfo.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
SVN_REV=`grep GNUCASH_SVN_REV ${_BUILD_UDIR}/src/core-utils/gnc-svninfo.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
|
||||
# Choose the output filename based on our "build_from_tarball" setting
|
||||
# Make sure this logic matches the logic in dist.sh!
|
||||
|
||||
@@ -286,7 +286,7 @@ function dist_finish() {
|
||||
if [ "$BUILD_FROM_TARBALL" = "no" ]; then
|
||||
# And changing output filename
|
||||
PKG_VERSION=`grep PACKAGE_VERSION ${_BUILD_UDIR}/config.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
SVN_REV=`grep GNUCASH_SVN_REV ${_BUILD_UDIR}/src/gnome-utils/gnc-svninfo.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
SVN_REV=`grep GNUCASH_SVN_REV ${_BUILD_UDIR}/src/core-utils/gnc-svninfo.h | cut -d" " -f3 | cut -d\" -f2 `
|
||||
SETUP_FILENAME="gnucash-${PKG_VERSION}-svn-r${SVN_REV}-setup.exe"
|
||||
qpushd ${_GNUCASH_UDIR}
|
||||
mv gnucash-${PKG_VERSION}-setup.exe ${SETUP_FILENAME}
|
||||
|
||||
Reference in New Issue
Block a user