From 370d30a88cc6d1820dff2446a1e85852e1a08dec Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Nov 2013 12:35:10 +0100 Subject: [PATCH] Generating cscope database with make --- .gitignore | 1 + Makefile.am | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index 2b30b6c..4ec27ae 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,5 @@ drop-world.sh libtool nbproject/private conf/wmud.conf +cscope.out var diff --git a/Makefile.am b/Makefile.am index 00990af..d042431 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,11 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = wmud docs/reference/wmud DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc + +csclean: + -rm -f cscope.out + +cscope.out: + cscope -bR + +cscope: csclean cscope.out