AUDIT: r17817 - gnucash/trunk - Bug #566567: [Win32] Do not touch .scm-links on windows - always copy scm files

Christian Stimming cstim at cvs.gnucash.org
Wed Jan 14 14:59:40 EST 2009


Author: cstim
Date: 2009-01-14 14:59:38 -0500 (Wed, 14 Jan 2009)
New Revision: 17817
Trac: http://svn.gnucash.org/trac/changeset/17817

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

Modified: gnucash/trunk/lib/guile-www/Makefile.am
===================================================================
--- gnucash/trunk/lib/guile-www/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/lib/guile-www/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/app-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/app-utils/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/app-utils/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/business/business-core/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-core/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/business/business-core/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/business/business-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-gnome/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/business/business-gnome/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/business/business-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-reports/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/business/business-reports/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -24,7 +24,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/trunk/src/business/business-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-utils/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/business/business-utils/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/business/dialog-tax-table/Makefile.am
===================================================================
--- gnucash/trunk/src/business/dialog-tax-table/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/business/dialog-tax-table/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/core-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/core-utils/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/core-utils/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/engine/Makefile.am
===================================================================
--- gnucash/trunk/src/engine/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/engine/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/gnc-module/Makefile.am
===================================================================
--- gnucash/trunk/src/gnc-module/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/gnc-module/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -51,7 +51,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/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -292,7 +292,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/trunk/src/import-export/qif-import/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/qif-import/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/import-export/qif-import/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/import-export/qif-io-core/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/qif-io-core/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/import-export/qif-io-core/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/report/locale-specific/us/Makefile.am
===================================================================
--- gnucash/trunk/src/report/locale-specific/us/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/locale-specific/us/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/report/report-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-gnome/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/report-gnome/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/report/report-system/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-system/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/report-system/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -72,7 +72,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/trunk/src/report/standard-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/report/standard-reports/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/standard-reports/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -57,7 +57,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/trunk/src/report/stylesheets/Makefile.am
===================================================================
--- gnucash/trunk/src/report/stylesheets/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/stylesheets/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/report/utility-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/report/utility-reports/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/report/utility-reports/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/scm/Makefile.am
===================================================================
--- gnucash/trunk/src/scm/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/scm/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/scm/gnumeric/Makefile.am
===================================================================
--- gnucash/trunk/src/scm/gnumeric/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/scm/gnumeric/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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/trunk/src/tax/us/Makefile.am
===================================================================
--- gnucash/trunk/src/tax/us/Makefile.am	2009-01-14 00:37:25 UTC (rev 17816)
+++ gnucash/trunk/src/tax/us/Makefile.am	2009-01-14 19:59:38 UTC (rev 17817)
@@ -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