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
|
||||
# files to dlopen the modules, so actually this is unneeded.
|
||||
# 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
|
||||
sed '/dependency_libs/d;s#../bin/##' $A > tmp ; mv tmp $A
|
||||
done
|
||||
@ -1022,7 +1022,7 @@ function make_install() {
|
||||
|
||||
# gettext 0.17 installs translations to \share\locale, but not all
|
||||
# gnome packages have been recompiled against it
|
||||
cp -a locale ../share && rm -rf locale
|
||||
[ -d locale ] && cp -a locale ../share && rm -rf locale
|
||||
qpopd
|
||||
|
||||
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"))"
|
||||
. functions.sh
|
||||
. defaults.sh
|
||||
|
||||
reset_steps
|
||||
. install.sh
|
||||
qpopd
|
||||
|
||||
prepare
|
||||
qpopd
|
||||
_INSTALL_WFSDIR=`win_fs_path $INSTALL_DIR`
|
||||
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
|
||||
|
||||
make_install
|
||||
|
Loading…
Reference in New Issue
Block a user