make: Search for c tags in ../ as well.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 1 Jan 2009 02:30:54 +0000 (03:30 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 1 Jan 2009 02:30:54 +0000 (03:30 +0100)
source4/build/make/rules.mk

index 68984329635022dfa81f885c16307aefe4b6d073..55ecf8968bf4963f4b79639528cf5827753872f6 100644 (file)
@@ -182,8 +182,10 @@ showflags::
        @echo '  MDLD_FLAGS = $(MDLD_FLAGS)'
        @echo '  SHLIBEXT   = $(SHLIBEXT)'
 
+base_srcdirs = $(srcdir) ../librpc/ ../lib/ ../libcli
+
 etags:
-       etags `find $(srcdir) -name "*.[ch]"`
+       etags `find $(base_srcdirs) -name "*.[ch]"`
 
 ctags:
-       ctags `find $(srcdir) -name "*.[ch]"`
+       ctags `find $(base_srcdirs) -name "*.[ch]"`