Bug #566567: [Win32] Do not touch .scm-links on windows - always copy scm files

.scm files must be copied on windows because linking won't work.

Note: existing build directories will be fixed only after make clean.

Patch by C. Ernst.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17817 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2009-01-14 19:59:38 +00:00
parent 90b9c43266
commit 3fe13a6733
22 changed files with 66 additions and 0 deletions

View File

@ -23,7 +23,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd www; for A in $(gncscm_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf www

View File

@ -130,7 +130,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
CLEANFILES = ${SCM_FILE_LINKS} gnucash .scm-links
MAINTAINERCLEANFILES = swig-app-utils.c

View File

@ -93,7 +93,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links
CLEANFILES = gnucash .scm-links ${SCM_FILE_LINKS}

View File

@ -112,7 +112,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links ${SCM_FILE_LINKS}

View File

@ -24,7 +24,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -59,7 +59,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -71,7 +71,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links
CLEANFILES = gnucash .scm-links ${SCM_FILE_LINKS}

View File

@ -55,7 +55,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links
EXTRA_DIST = $(gncmod_DATA) core-utils.i

View File

@ -159,7 +159,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links

View File

@ -51,7 +51,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
CLEANFILES = .scm-links gnucash ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-gnc-module.c

View File

@ -292,7 +292,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links ${SCM_FILE_LINKS}

View File

@ -99,7 +99,10 @@ if GNUCASH_SEPARATE_BUILDDIR
endif
( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
( cd qif-import; for A in $(gncscm_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash qif-import

View File

@ -34,7 +34,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export/
gncscmmod_DATA = qif-io-core.scm

View File

@ -44,7 +44,10 @@ if GNUCASH_SEPARATE_BUILDDIR
endif
( cd gnucash/report/locale-specific; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../../$$A . ; done )
( cd gnucash/report; for A in $(gncscmothermod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -90,7 +90,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
CLEANFILES = gnucash report .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-report-gnome.c

View File

@ -72,7 +72,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links

View File

@ -57,7 +57,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -54,7 +54,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -41,7 +41,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -39,7 +39,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash

View File

@ -14,7 +14,10 @@ if GNUCASH_SEPARATE_BUILDDIR
$(LN_S) -f ${srcdir}/$$X . ; \
done
endif
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
noinst_DATA = .scm-links

View File

@ -39,7 +39,10 @@ if GNUCASH_SEPARATE_BUILDDIR
done
endif
( cd gnucash/tax; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
touch .scm-links
endif
clean-local:
$(RM) -rf gnucash