[Crosstoolchain-logs] [device-tree-compiler] 19/58: Makefile: Add tags rule

Vagrant Cascadian vagrant at moszumanska.debian.org
Mon Sep 25 16:23:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

vagrant pushed a commit to branch debian/master
in repository device-tree-compiler.

commit 4baf15f7f13f62fe81f38afe4f871be47b79461a
Author: Stephen Boyd <stephen.boyd at linaro.org>
Date:   Thu Jan 26 10:48:14 2017 -0800

    Makefile: Add tags rule
    
    It's useful to have some tags to jump around sources. We don't
    include test sources in the toplevel Makefile because they
    probably aren't useful to main program development.
    
    Signed-off-by: Stephen Boyd <stephen.boyd at linaro.org>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index 32dcfcf..ce05eba 100644
--- a/Makefile
+++ b/Makefile
@@ -218,6 +218,12 @@ kup: dist
 		$(KUPDIR)/dtc-$(dtc_version).tar.gz
 endif
 
+tags: FORCE
+	rm -f tags
+	find . \( -name tests -type d -prune \) -o \
+	       \( ! -name '*.tab.[ch]' ! -name '*.lex.c' \
+	       -name '*.[chly]' -type f -print \) | xargs ctags -a
+
 #
 # Testsuite rules
 #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list