From be2e40c66714e90557a5a0c7722ed087240b04df Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Mon, 14 Nov 2011 13:35:30 +0100 Subject: [PATCH] build: add "cscope" target to makefile It builds cscope database, gets cleaned on "clean". --- .gitignore | 1 + Makefile.am | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 8630fc437d..a1fcced321 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ COPYING INSTALL ABOUT-NLS *.pc +cscope.*out man/*.[185] po/*.gmo po/.intltool-merge-cache diff --git a/Makefile.am b/Makefile.am index c128368ce8..912ded3a05 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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;