Edit

kc3-lang/automake/tags.am

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2000-10-16 09:01:36
    Hash : a2c34841
    Message : * aclocal.in, aclocal.m4: Standardize FSF Copyright statements. * automake.in, automake.texi: Likewise. * clean-kr.am, clean.am: Likewise. * comp-vars.am: Likewise. * compile, compile.am: Likewise. * data-clean.am: Likewise. * data.am: Likewise. * dejagnu.am: Likewise. * depcomp: Likewise. * depend.am, depend2.am: Likewise. * dist-vars.am, dist.am: Likewise. * elisp-comp: Likewise. * footer.am: Likewise. * header-vars.am, header.am: Likewise. * java-clean.am java.am: Likewise. * kr-extra.am: Likewise. * library.am: Likewise. * libs-clean.am, libs.am: Likewise. * libtool.am: Likewise. * lisp-clean.am lisp.am: Likewise. * ltlib-clean.am ltlib.am: Likewise. * ltlibrary.am: Likewise. * m4/Makefile.in: Likewise. * m4/strtod.m4: Likewise. * mans-vars.am, mans.am: Likewise. * mdate-sh: Likewise. * missing: Likewise. * multilib.am: Likewise. * program.am: Likewise. * progs-clean.am, progs.am: Likewise. * python-clean.am, python.am: Likewise. * remake-hdr.am, remake.am: Likewise. * scripts.am: Likewise. * subdirs.am: Likewise. * tags-clean.am, tags.am: Likewise. * texi-vers.am: Likewise. * texinfos.am: Likewise. * ylwrap: Likewise.

  • tags.am
  • ## automake - create Makefile.in from Makefile.am
    ## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
    ## Free Software Foundation, Inc.
    
    ## This program is free software; you can redistribute it and/or modify
    ## it under the terms of the GNU General Public License as published by
    ## the Free Software Foundation; either version 2, or (at your option)
    ## any later version.
    
    ## This program is distributed in the hope that it will be useful,
    ## but WITHOUT ANY WARRANTY; without even the implied warranty of
    ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    ## GNU General Public License for more details.
    
    ## You should have received a copy of the GNU General Public License
    ## along with this program; if not, write to the Free Software
    ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    ## 02111-1307, USA.
    tags: TAGS
    
    ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    ## Make sure the list of sources is unique.
    	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
    	unique=`for i in $$list; do \
    ## Handle VPATH correctly.
    	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    	  done | \
    	  $(AWK) '    { files[$$0] = 1; } \
    	       END { for (i in files) print i; }'`; \
    	mkid -fID $$unique $(LISP)
    
    TAGS: @DIRS@ $(HEADERS) $(SOURCES) @CONFIG@ $(TAGS_DEPENDENCIES) \
    		$(TAGS_FILES) $(LISP)
    	tags=; \
    	here=`pwd`; \
    SUBDIRS	list='$(SUBDIRS)'; for subdir in $$list; do \
    ## Do nothing if we're trying to look in `.'.
    SUBDIRS   if test "$$subdir" = .; then :; else \
    SUBDIRS	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
    SUBDIRS   fi; \
    SUBDIRS	done; \
    ## Make sure the list of sources is unique.
    	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
    	unique=`for i in $$list; do \
    ## Handle VPATH correctly.
    	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    	  done | \
    	  $(AWK) '    { files[$$0] = 1; } \
    	       END { for (i in files) print i; }'`; \
    ## Make sure we have something to run etags on.
    	test -z "$(ETAGS_ARGS)@CONFIG@$$unique$(LISP)$$tags" \
    	  || etags $(ETAGS_ARGS) $$tags @CONFIG@ $$unique $(LISP)