From b706926ea75eb044f58b6d26a40f22d917ab01ca Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Thu, 2 Feb 2012 21:55:26 +0100 Subject: [PATCH] When etags fails, ignore the error. --- src/Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index da633cd9f..0b00da23d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -259,8 +259,7 @@ selfbuild: # like "@si::foo" and "@(defun si::foo". # This rule is allowed to fail when etags does not exist. TAGS: - echo > $@ - if test "x$(ETAGS)" != "x"; then \ + -if test "x$(ETAGS)" != "x"; then \ srcfiles=`find $(srcdir)/c $(srcdir)/h -name '*.[chd]'` && \ $(ETAGS) --language=c -o $@ $$srcfiles && \ $(ETAGS) --language=none -o $@ --append \ @@ -268,4 +267,4 @@ TAGS: --regex='/@(defun \([-:*a-zA-z]+\)/\1/' \ $$srcfiles; \ fi - + touch $@