]> code.delx.au - gnu-emacs/blobdiff - lib-src/Makefile.in
Merge from origin/emacs-25
[gnu-emacs] / lib-src / Makefile.in
index 2b65cb2e1a9ca0f0ac78a1ae5967835db0f4282d..150d943b7e215f27a3a9e7466524bdb6d153487d 100644 (file)
@@ -1,6 +1,6 @@
 ### @configure_input@
 
-# Copyright (C) 1985, 1987-1988, 1993-1994, 2001-2015 Free Software
+# Copyright (C) 1985, 1987-1988, 1993-1994, 2001-2016 Free Software
 # Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -345,9 +345,12 @@ extraclean: maintainer-clean
 check:
        @echo "We don't have any tests for the lib-src/ directory yet."
 
+tagsfiles = $(wildcard ${srcdir}/*.[ch])
+
+.PHONY: tags
 tags: TAGS
-TAGS: etags${EXEEXT}
-       etags *.[ch]
+TAGS: etags${EXEEXT} ${tagsfiles}
+       ./etags ${tagsfiles}
 
 ../lib/libgnu.a: $(config_h)
        $(MAKE) -C ../lib all