Message ID | 1311133315-978-1-git-send-email-cerbere@gmail.com |
---|---|
State | New |
Headers | show |
On Wed, Jul 20, 2011 at 6:41 AM, Alexandre Raymond <cerbere@gmail.com> wrote: > -Create cscope symbols for assembly files in addition to .c/.h files. > -Create cscope database with full path instead of relative path so cscope > can be used with CSCOPE_DB in any directory. > > Signed-off-by: Alexandre Raymond <cerbere@gmail.com> > --- > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index b3ffbe2..4273b6f 100644 > --- a/Makefile > +++ b/Makefile > @@ -254,7 +254,7 @@ TAGS: > > cscope: > rm -f ./cscope.* > - find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files > + find $$PWD -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files Please use $$SRC_PATH instead. > cscope -b > > # documentation > -- > 1.7.5 > > >
diff --git a/Makefile b/Makefile index b3ffbe2..4273b6f 100644 --- a/Makefile +++ b/Makefile @@ -254,7 +254,7 @@ TAGS: cscope: rm -f ./cscope.* - find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files + find $$PWD -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files cscope -b # documentation
-Create cscope symbols for assembly files in addition to .c/.h files. -Create cscope database with full path instead of relative path so cscope can be used with CSCOPE_DB in any directory. Signed-off-by: Alexandre Raymond <cerbere@gmail.com> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)