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

Re: [tyndur-devel] [PATCH] Makefile: cscope-Target



On Fri, Jan 07 23:19, Kevin Wolf wrote:
> + make cscope generiert eine cscope-Datenbank für alle C-Dateien im
>   ganzen Verzeichnisbaum
> 
> Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
> ---
>  Makefile   |    5 +++++
>  buildmk.sh |    5 +++++
>  2 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 844814c..cb5c7ca 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -81,6 +81,11 @@ test-qemu-cdrom: image-cdrom
>  test-bochs: image-floppy
>  	bochs -f bochs.config
>  
> +cscope:
> +	rm -f cscope.*
> +	find /home/kevin/entwicklung/tyndur/src -name '*.[ch]' > cscope.files

Ich bin relativ sicher dass das bei mir ein "No such file or directory"
ausspuckt. ;-)

> +	cscope -bk
> +
>  menuconfig:
>  	python config.py
>  
> diff --git a/buildmk.sh b/buildmk.sh
> index 800ac2a..b5497b9 100644
> --- a/buildmk.sh
> +++ b/buildmk.sh
> @@ -301,6 +301,11 @@ test-qemu-cdrom: image-cdrom
>  test-bochs: image-floppy
>  	bochs -f bochs.config
>  
> +cscope:
> +	rm -f cscope.*
> +	find `pwd`/src -name '*.[ch]' > cscope.files
> +	cscope -bk
> +
>  menuconfig:
>  	python config.py

-- 
Antoine Kaufmann
<toni@xxxxxxxxxxxxxxxx>

Attachment: pgpZRSP_vdQD8.pgp
Description: PGP signature