[Gnucash-changes] r13556 - gnucash/trunk - Replace "ln -sf" by "$(LN_S) -f" for

Christian Stimming cstim at cvs.gnucash.org
Thu Mar 9 09:28:56 EST 2006


Author: cstim
Date: 2006-03-09 09:28:54 -0500 (Thu, 09 Mar 2006)
New Revision: 13556
Trac: http://svn.gnucash.org/trac/changeset/13556

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/Makefile.am
   gnucash/trunk/configure.in
   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/gnome/Makefile.am
   gnucash/trunk/src/import-export/Makefile.am
   gnucash/trunk/src/import-export/qif-import/Makefile.am
   gnucash/trunk/src/import-export/qif-io-core/Makefile.am
   gnucash/trunk/src/optional/swig/Makefile.am
   gnucash/trunk/src/register/register-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/scm/printing/Makefile.am
   gnucash/trunk/src/tax/us/Makefile.am
Log:
Replace "ln -sf" by "$(LN_S) -f" for
systems that don't have symbolic links available.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/ChangeLog	2006-03-09 14:28:54 UTC (rev 13556)
@@ -1,5 +1,8 @@
 2006-03-09  Christian Stimming <stimming at tuhh.de>
 
+	* configure.in, Makefile.am: Replace "ln -sf" by "$(LN_S) -f" for
+	systems that don't have symbolic links available.
+
 	* configure.in, src/gnome-utils/gnc-druid-provider-file-gnome.h:
 	Check for <glob.h> and provide own typedef if header unavailable.
 

Modified: gnucash/trunk/Makefile.am
===================================================================
--- gnucash/trunk/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -102,10 +102,10 @@
 .links: 
 	rm -f goffice gsf
 if !HAVE_GOFFICE
-	ln -sf . goffice
+	$(LN_S) -f . goffice
 endif
 if !HAVE_LIBGSF
-	ln -sf $(srcdir)/lib/libgsf-1.12.3/gsf gsf
+	$(LN_S) -f $(srcdir)/lib/libgsf-1.12.3/gsf gsf
 endif
 	touch .links
 

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/configure.in	2006-03-09 14:28:54 UTC (rev 13556)
@@ -89,6 +89,7 @@
 AC_ISC_POSIX
 AC_C_BIGENDIAN
 AC_PROG_MAKE_SET
+AC_PROG_LN_S
 AC_HEADER_STDC
 
 AC_CHECK_HEADERS(limits.h sys/times.h)
@@ -1514,7 +1515,6 @@
   AC_ISC_POSIX
   AC_PROG_YACC
   AM_PROG_LEX
-  AC_PROG_LN_S
   AM_PROG_LIBTOOL
   AC_STDC_HEADERS
   AC_SYS_LARGEFILE

Modified: gnucash/trunk/lib/guile-www/Makefile.am
===================================================================
--- gnucash/trunk/lib/guile-www/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/lib/guile-www/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -16,10 +16,10 @@
 
 .scm-links: 
 	rm -f www
-	ln -sf . www
+	$(LN_S) -f . www
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/app-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/app-utils/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/app-utils/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -114,11 +114,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/business/business-core/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-core/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/business/business-core/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -90,11 +90,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/business/business-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-gnome/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/business/business-gnome/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -112,11 +112,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/business/business-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-reports/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/business/business-reports/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -15,11 +15,11 @@
 
 .scm-links:
 	rm -f gnucash report
-	ln -sf . gnucash
-	ln -sf ${srcdir} report 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f ${srcdir} report 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/business/business-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-utils/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/business/business-utils/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -48,10 +48,10 @@
 
 .scm-links: 
 	rm -f gnucash
-	ln -sf ${srcdir} gnucash 
+	$(LN_S) -f ${srcdir} gnucash 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/business/dialog-tax-table/Makefile.am
===================================================================
--- gnucash/trunk/src/business/dialog-tax-table/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/business/dialog-tax-table/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -69,11 +69,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/core-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/core-utils/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/core-utils/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -50,11 +50,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/engine/Makefile.am
===================================================================
--- gnucash/trunk/src/engine/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/engine/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -163,11 +163,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/gnc-module/Makefile.am
===================================================================
--- gnucash/trunk/src/gnc-module/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/gnc-module/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -54,11 +54,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash
-	ln -sf . g-wrapped
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . g-wrapped
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/gnome/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -175,11 +175,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -289,11 +289,11 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links
@@ -318,7 +318,7 @@
 # them in ${pkgdatadir}/gnome/help/${program}.
 #
 install-data-hook:
-	ln -sf ../gnome ${DESTDIR}/${pkgdatadir}
+	$(LN_S) -f ../gnome ${DESTDIR}/${pkgdatadir}
 
 uninstall-hook:
 	rm -f ${DESTDIR}/${pkgdatadir}/gnome

Modified: gnucash/trunk/src/import-export/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/import-export/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -84,13 +84,13 @@
 
 .scm-links:
 	rm -f g-wrapped gnucash generic-import import-export
-	ln -sf . import-export
-	ln -sf . gnucash
-	ln -sf . generic-import
-	ln -sf . g-wrapped
+	$(LN_S) -f . import-export
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . generic-import
+	$(LN_S) -f . g-wrapped
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/import-export/qif-import/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/qif-import/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/import-export/qif-import/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -87,13 +87,13 @@
 
 .scm-links: 
 	rm -f g-wrapped gnucash import-export qif-import
-	ln -sf . qif-import # to fix (load "qif-import/foo.scm")
-	ln -sf . import-export
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
+	$(LN_S) -f . qif-import # to fix (load "qif-import/foo.scm")
+	$(LN_S) -f . import-export
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/import-export/qif-io-core/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/qif-io-core/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/import-export/qif-io-core/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -26,11 +26,11 @@
 
 .scm-links:
 	rm -f gnucash import-export 
-	ln -sf . gnucash
-	ln -sf . import-export
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . import-export
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/optional/swig/Makefile.am
===================================================================
--- gnucash/trunk/src/optional/swig/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/optional/swig/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -67,10 +67,10 @@
 install-data-local: libgncswig.la
 	cd ${DESTDIR}${perllibdir} && rm -f gnucash.so
 	if [ -f ${DESTDIR}${perllibdir}/libgncswig.so ]; then \
-		cd ${DESTDIR}${perllibdir} && ln -s libgncswig.so gnucash.so; \
+		cd ${DESTDIR}${perllibdir} && $(LN_S) -f libgncswig.so gnucash.so; \
 	elif [ -f ${DESTDIR}${perllibdir}/libgncswig.so.0 ]; then \
 		cd ${DESTDIR}${perllibdir} && \
-                ln -s libgncswig.so.0 gnucash.so; \
+                $(LN_S) -f libgncswig.so.0 gnucash.so; \
 	else \
 		echo "Can't find libgncswig shared library!" \
 		exit 1; \

Modified: gnucash/trunk/src/register/register-core/Makefile.am
===================================================================
--- gnucash/trunk/src/register/register-core/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/register/register-core/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -81,12 +81,12 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
-	ln -sf . register
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
+	$(LN_S) -f . register
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/locale-specific/us/Makefile.am
===================================================================
--- gnucash/trunk/src/report/locale-specific/us/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/locale-specific/us/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -32,13 +32,13 @@
 
 .scm-links:
 	rm -f gnucash report locale-specific us 
-	ln -sf . gnucash
-	ln -sf . report 
-	ln -sf ${srcdir} locale-specific 
-	ln -sf . us 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . report 
+	$(LN_S) -f ${srcdir} locale-specific 
+	$(LN_S) -f . us 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/report-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-gnome/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/report-gnome/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -88,12 +88,12 @@
 
 .scm-links: 
 	rm -f gnucash g-wrapped
-	ln -sf . gnucash 
-	ln -sf . g-wrapped 
-	ln -sf ${srcdir} report 
+	$(LN_S) -f . gnucash 
+	$(LN_S) -f . g-wrapped 
+	$(LN_S) -f ${srcdir} report 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/report-system/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-system/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/report-system/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -58,12 +58,12 @@
 
 .scm-links:
 	rm -f gnucash report g-wrapped
-	ln -sf . gnucash
-	ln -sf . report 
-	ln -sf . g-wrapped
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . report 
+	$(LN_S) -f . g-wrapped
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/standard-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/report/standard-reports/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/standard-reports/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -40,11 +40,11 @@
 
 .scm-links:
 	rm -f gnucash report
-	ln -sf . gnucash
-	ln -sf ${srcdir} report 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f ${srcdir} report 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/stylesheets/Makefile.am
===================================================================
--- gnucash/trunk/src/report/stylesheets/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/stylesheets/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -41,11 +41,11 @@
 
 .scm-links:
 	rm -f gnucash report
-	ln -sf . gnucash
-	ln -sf ${srcdir} report 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f ${srcdir} report 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/report/utility-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/report/utility-reports/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/report/utility-reports/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -28,11 +28,11 @@
 
 .scm-links:
 	rm -f gnucash report
-	ln -sf . gnucash
-	ln -sf ${srcdir} report 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f ${srcdir} report 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/scm/Makefile.am
===================================================================
--- gnucash/trunk/src/scm/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/scm/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -32,10 +32,10 @@
 
 .scm-links: 
 	rm -f gnucash
-	ln -sf ${srcdir} gnucash
+	$(LN_S) -f ${srcdir} gnucash
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/scm/gnumeric/Makefile.am
===================================================================
--- gnucash/trunk/src/scm/gnumeric/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/scm/gnumeric/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -11,7 +11,7 @@
 .scm-links:
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/scm/printing/Makefile.am
===================================================================
--- gnucash/trunk/src/scm/printing/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/scm/printing/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -13,7 +13,7 @@
 .scm-links:
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links

Modified: gnucash/trunk/src/tax/us/Makefile.am
===================================================================
--- gnucash/trunk/src/tax/us/Makefile.am	2006-03-09 13:03:29 UTC (rev 13555)
+++ gnucash/trunk/src/tax/us/Makefile.am	2006-03-09 14:28:54 UTC (rev 13556)
@@ -29,11 +29,11 @@
 
 .scm-links:
 	rm -f gnucash tax
-	ln -sf . gnucash
-	ln -sf . tax 
+	$(LN_S) -f . gnucash
+	$(LN_S) -f . tax 
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
-	  ln -sf ${srcdir}/$$X . ; \
+	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	touch .scm-links



More information about the gnucash-changes mailing list