Whamcloud - gitweb
Update tags target from b1_4.
authoradilger <adilger>
Thu, 27 May 2004 06:31:55 +0000 (06:31 +0000)
committeradilger <adilger>
Thu, 27 May 2004 06:31:55 +0000 (06:31 +0000)
lustre/Rules.in
lustre/autoMakefile.am

index 1a3ae52..293ff3c 100644 (file)
@@ -23,17 +23,6 @@ ifeq ($(PATCHLEVEL),)
 
 include autoMakefile
 
-tags:
-       rm -f $(top_srcdir)/TAGS
-       ETAGSF=`etags --version | grep -iq exuberant && \
-               echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
-       find $(top_srcdir) -name '*.[hc]' | xargs etags $$ETAGSF -a
-
-       rm -f $(top_srcdir)/tags
-       CTAGSF=`ctags --version | grep -iq exuberant && \
-               echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
-       find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a
-
 else
 
 include @LINUX_CONFIG@
index 1980ce0..0ac7825 100644 (file)
@@ -12,6 +12,27 @@ SUBDIRS = . include portals ldiskfs lvfs obdclass lov ldlm ptlrpc      \
 EXTRA_DIST = BUGS FDL Rules.in kernel_patches kernel-tests/Makefile    \
        README.kernel-source
 
+# these empty rules are needed so that automake doesn't add its own
+# recursive rules
+etags-recursive:
+
+ctags-recursive:
+
+tags-recursive:
+
+TAGS:
+
+tags:
+       rm -f $(top_srcdir)/TAGS
+       ETAGSF=`etags --version | grep -iq exuberant && \
+               echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
+       find $(top_srcdir) -name '*.[hc]' | xargs etags $$ETAGSF -a
+
+       rm -f $(top_srcdir)/tags
+       CTAGSF=`ctags --version | grep -iq exuberant && \
+               echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
+       find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a
+
 if MODULES
 all-am: modules