mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-29 04:04:07 -06:00
Win32: Provide make_install.sh with some vars, make it more robust.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16930 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
05f0388610
commit
326eee4cb6
@ -1012,7 +1012,7 @@ function make_install() {
|
|||||||
# correct the 'dlname' in the libtool archives. We do not use these
|
# correct the 'dlname' in the libtool archives. We do not use these
|
||||||
# files to dlopen the modules, so actually this is unneeded.
|
# files to dlopen the modules, so actually this is unneeded.
|
||||||
# Also, in all installed .la files, remove the dependency_libs line
|
# Also, in all installed .la files, remove the dependency_libs line
|
||||||
mv bin/*.dll gnucash || true
|
mv bin/*.dll gnucash 2>/dev/null || true
|
||||||
for A in gnucash/*.la; do
|
for A in gnucash/*.la; do
|
||||||
sed '/dependency_libs/d;s#../bin/##' $A > tmp ; mv tmp $A
|
sed '/dependency_libs/d;s#../bin/##' $A > tmp ; mv tmp $A
|
||||||
done
|
done
|
||||||
@ -1022,7 +1022,7 @@ function make_install() {
|
|||||||
|
|
||||||
# gettext 0.17 installs translations to \share\locale, but not all
|
# gettext 0.17 installs translations to \share\locale, but not all
|
||||||
# gnome packages have been recompiled against it
|
# gnome packages have been recompiled against it
|
||||||
cp -a locale ../share && rm -rf locale
|
[ -d locale ] && cp -a locale ../share && rm -rf locale
|
||||||
qpopd
|
qpopd
|
||||||
|
|
||||||
qpushd $_INSTALL_UDIR/etc/gconf/schemas
|
qpushd $_INSTALL_UDIR/etc/gconf/schemas
|
||||||
|
@ -9,10 +9,12 @@ function unix_path() { echo "$*" | sed 's,^\([A-Za-z]\):,/\1,;s,\\,/,g'; }
|
|||||||
qpushd "$(dirname $(unix_path "$0"))"
|
qpushd "$(dirname $(unix_path "$0"))"
|
||||||
. functions.sh
|
. functions.sh
|
||||||
. defaults.sh
|
. defaults.sh
|
||||||
|
|
||||||
reset_steps
|
reset_steps
|
||||||
. install.sh
|
. install.sh
|
||||||
|
qpopd
|
||||||
|
|
||||||
prepare
|
prepare
|
||||||
qpopd
|
_INSTALL_WFSDIR=`win_fs_path $INSTALL_DIR`
|
||||||
|
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
|
||||||
|
|
||||||
make_install
|
make_install
|
||||||
|
Loading…
Reference in New Issue
Block a user