From 526c5b4a8947997f123c710b019a80fa9232ab26 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 27 May 2004 06:31:55 +0000 Subject: [PATCH] Update tags target from b1_4. --- lustre/Rules.in | 11 ----------- lustre/autoMakefile.am | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/lustre/Rules.in b/lustre/Rules.in index 1a3ae52..293ff3c 100644 --- a/lustre/Rules.in +++ b/lustre/Rules.in @@ -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@ diff --git a/lustre/autoMakefile.am b/lustre/autoMakefile.am index 1980ce0..0ac7825 100644 --- a/lustre/autoMakefile.am +++ b/lustre/autoMakefile.am @@ -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 -- 1.8.3.1