r18498 - gnucash/trunk/src/report/standard-reports - Symlink the reports to the build directory to make it easier to use them when

Mike Alexander mta at code.gnucash.org
Mon Dec 14 00:52:22 EST 2009


Author: mta
Date: 2009-12-14 00:52:22 -0500 (Mon, 14 Dec 2009)
New Revision: 18498
Trac: http://svn.gnucash.org/trac/changeset/18498

Modified:
   gnucash/trunk/src/report/standard-reports/Makefile.am
Log:
Symlink the reports to the build directory to make it easier to use them when 
running in place after a build without installing GnuCash.


Modified: gnucash/trunk/src/report/standard-reports/Makefile.am
===================================================================
--- gnucash/trunk/src/report/standard-reports/Makefile.am	2009-12-14 05:50:57 UTC (rev 18497)
+++ gnucash/trunk/src/report/standard-reports/Makefile.am	2009-12-14 05:52:22 UTC (rev 18498)
@@ -50,19 +50,21 @@
 
 if GNUCASH_SEPARATE_BUILDDIR
 #For executing test cases
-SCM_FILE_LINKS = ${gncscmmod_DATA}
+SCM_FILE_LINKS = ${gncscmmod_DATA} ${gncscmreportmod_DATA}
 endif
 
 .scm-links:
 	$(RM) -rf gnucash
 	mkdir -p  gnucash
 	mkdir -p  gnucash/report
+	mkdir -p  gnucash/report/standard-reports
 if GNUCASH_SEPARATE_BUILDDIR
 	for X in ${SCM_FILE_LINKS} ; do \
 	  $(LN_S) -f ${srcdir}/$$X . ; \
 	done
 endif
 	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
+	( cd gnucash/report/standard-reports; for A in $(gncscmreportmod_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



More information about the gnucash-changes mailing list