Cscope support: Works with build dir now, cscope files ignore by git.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16813 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2008-01-05 18:30:43 +00:00
parent d4f830f2cc
commit bc142a3ae1
2 changed files with 7 additions and 2 deletions

View File

@@ -105,9 +105,12 @@ DISTCLEANFILES = \
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.