r16813 - gnucash/trunk - Cscope support: Works with build dir now, cscope files ignore by git.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Jan 5 13:30:43 EST 2008


Author: andi5
Date: 2008-01-05 13:30:43 -0500 (Sat, 05 Jan 2008)
New Revision: 16813
Trac: http://svn.gnucash.org/trac/changeset/16813

Modified:
   gnucash/trunk/.gitignore
   gnucash/trunk/Makefile.am
Log:
Cscope support: Works with build dir now, cscope files ignore by git.


Modified: gnucash/trunk/.gitignore
===================================================================
--- gnucash/trunk/.gitignore	2008-01-05 16:51:39 UTC (rev 16812)
+++ gnucash/trunk/.gitignore	2008-01-05 18:30:43 UTC (rev 16813)
@@ -12,6 +12,8 @@
 TAGS
 aclocal.m4
 autom4te.cache
+cscope.files
+cscope.out
 compile
 config.guess
 config.h

Modified: gnucash/trunk/Makefile.am
===================================================================
--- gnucash/trunk/Makefile.am	2008-01-05 16:51:39 UTC (rev 16812)
+++ gnucash/trunk/Makefile.am	2008-01-05 18:30:43 UTC (rev 16813)
@@ -105,9 +105,12 @@
 
 cscope.files:
 	find src lib -name '*.[ch]' > cscope.files
+if GNUCASH_SEPARATE_BUILDDIR
+	find ${srcdir}/src ${srcdir}/lib -name '*.[ch]' >> cscope.files
+endif
 
-cscope.out: cscope.files
-	cscope -b
+${srcdir}/cscope.out: cscope.files
+	cscope -b -f ${srcdir}/cscope.out
 
 
 # make sure etags.files is up to date.



More information about the gnucash-changes mailing list