Re: [PATCH] Makefile: Add "cscope" target



On Thursday 10 of November 2011 11:12:37 Thomas Graf wrote:
> Builds cscope database, gets cleaned on "clean"
> 
> Signed-off-by: Thomas Graf <tgraf redhat com>
> ---
>  .gitignore  |    1 +
>  Makefile.am |    5 +++++
>  2 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 215864d..63cf8e9 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -29,6 +29,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 c128368..912ded3 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;

Pushed as be2e40c66714e90557a5a0c7722ed087240b04df
Thanks.

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]