r17857 - gnucash/branches/2.2 - [17817] Bug #566567: [Win32] Do not touch .scm-links on windows - always copy scm files

Christian Stimming cstim at cvs.gnucash.org
Sat Jan 31 05:45:27 EST 2009


Author: cstim
Date: 2009-01-31 05:45:26 -0500 (Sat, 31 Jan 2009)
New Revision: 17857
Trac: http://svn.gnucash.org/trac/changeset/17857

Modified:
   gnucash/branches/2.2/lib/guile-www/Makefile.am
   gnucash/branches/2.2/src/app-utils/Makefile.am
   gnucash/branches/2.2/src/business/business-core/Makefile.am
   gnucash/branches/2.2/src/business/business-gnome/Makefile.am
   gnucash/branches/2.2/src/business/business-reports/Makefile.am
   gnucash/branches/2.2/src/business/business-utils/Makefile.am
   gnucash/branches/2.2/src/business/dialog-tax-table/Makefile.am
   gnucash/branches/2.2/src/core-utils/Makefile.am
   gnucash/branches/2.2/src/engine/Makefile.am
   gnucash/branches/2.2/src/gnc-module/Makefile.am
   gnucash/branches/2.2/src/gnome-utils/Makefile.am
   gnucash/branches/2.2/src/import-export/qif-import/Makefile.am
   gnucash/branches/2.2/src/import-export/qif-io-core/Makefile.am
   gnucash/branches/2.2/src/report/locale-specific/us/Makefile.am
   gnucash/branches/2.2/src/report/report-gnome/Makefile.am
   gnucash/branches/2.2/src/report/report-system/Makefile.am
   gnucash/branches/2.2/src/report/standard-reports/Makefile.am
   gnucash/branches/2.2/src/report/stylesheets/Makefile.am
   gnucash/branches/2.2/src/report/utility-reports/Makefile.am
   gnucash/branches/2.2/src/scm/Makefile.am
   gnucash/branches/2.2/src/scm/gnumeric/Makefile.am
   gnucash/branches/2.2/src/tax/us/Makefile.am
Log:
[17817] 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.

Modified: gnucash/branches/2.2/lib/guile-www/Makefile.am
===================================================================
--- gnucash/branches/2.2/lib/guile-www/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/lib/guile-www/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -23,7 +23,10 @@
 	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

Modified: gnucash/branches/2.2/src/app-utils/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/app-utils/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/app-utils/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -130,7 +130,10 @@
 	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

Modified: gnucash/branches/2.2/src/business/business-core/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/business/business-core/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/business/business-core/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -93,7 +93,10 @@
 	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}

Modified: gnucash/branches/2.2/src/business/business-gnome/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/business/business-gnome/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/business/business-gnome/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -112,7 +112,10 @@
 	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}

Modified: gnucash/branches/2.2/src/business/business-reports/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/business/business-reports/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/business/business-reports/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -23,7 +23,10 @@
 	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

Modified: gnucash/branches/2.2/src/business/business-utils/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/business/business-utils/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/business/business-utils/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -59,7 +59,10 @@
 	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

Modified: gnucash/branches/2.2/src/business/dialog-tax-table/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/business/dialog-tax-table/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/business/dialog-tax-table/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -71,7 +71,10 @@
 	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}

Modified: gnucash/branches/2.2/src/core-utils/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/core-utils/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/core-utils/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -55,7 +55,10 @@
 	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

Modified: gnucash/branches/2.2/src/engine/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/engine/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/engine/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -159,7 +159,10 @@
 	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
 

Modified: gnucash/branches/2.2/src/gnc-module/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/gnc-module/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/gnc-module/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -50,7 +50,10 @@
 	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

Modified: gnucash/branches/2.2/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/gnome-utils/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/gnome-utils/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -291,7 +291,10 @@
 	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}

Modified: gnucash/branches/2.2/src/import-export/qif-import/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/import-export/qif-import/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/import-export/qif-import/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -99,7 +99,10 @@
 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

Modified: gnucash/branches/2.2/src/import-export/qif-io-core/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/import-export/qif-io-core/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/import-export/qif-io-core/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -34,7 +34,10 @@
 	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

Modified: gnucash/branches/2.2/src/report/locale-specific/us/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/locale-specific/us/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/locale-specific/us/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -44,7 +44,10 @@
 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

Modified: gnucash/branches/2.2/src/report/report-gnome/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/report-gnome/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/report-gnome/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -90,7 +90,10 @@
 	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

Modified: gnucash/branches/2.2/src/report/report-system/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/report-system/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/report-system/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -71,7 +71,10 @@
 	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
 

Modified: gnucash/branches/2.2/src/report/standard-reports/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/standard-reports/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/standard-reports/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -55,7 +55,10 @@
 	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

Modified: gnucash/branches/2.2/src/report/stylesheets/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/stylesheets/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/stylesheets/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -54,7 +54,10 @@
 	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

Modified: gnucash/branches/2.2/src/report/utility-reports/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/report/utility-reports/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/report/utility-reports/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -41,7 +41,10 @@
 	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

Modified: gnucash/branches/2.2/src/scm/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/scm/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/scm/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -39,7 +39,10 @@
 	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

Modified: gnucash/branches/2.2/src/scm/gnumeric/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/scm/gnumeric/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/scm/gnumeric/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -14,7 +14,10 @@
 	  $(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
 

Modified: gnucash/branches/2.2/src/tax/us/Makefile.am
===================================================================
--- gnucash/branches/2.2/src/tax/us/Makefile.am	2009-01-31 10:24:34 UTC (rev 17856)
+++ gnucash/branches/2.2/src/tax/us/Makefile.am	2009-01-31 10:45:26 UTC (rev 17857)
@@ -39,7 +39,10 @@
 	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



More information about the gnucash-changes mailing list