mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
90b9c43266
commit
3fe13a6733
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user