build: add "cscope" target to makefile

It builds cscope database, gets cleaned on "clean".
This commit is contained in:
Thomas Graf 2011-11-14 13:35:30 +01:00 committed by Jiří Klimeš
parent 85f49630af
commit be2e40c667
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -30,6 +30,7 @@ COPYING
INSTALL
ABOUT-NLS
*.pc
cscope.*out
man/*.[185]
po/*.gmo
po/.intltool-merge-cache

View File

@ -38,3 +38,8 @@ pkgconfig_DATA = NetworkManager.pc
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
CLEANFILES = cscope.in.out cscope.out cscope.po.out
.PHONY: cscope
cscope:
cscope -b -q -R -Iinclude -ssrc -slibnm-glib -slibnm-util -smarshallers -scli/src;