[PATCH v2 13/17] build: avoid repeating the same etags args several times

Stefano Lattarini <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <f7932b176c95d46985832f62167dc34c2fb42897.1367846278.git.stefano.lattarini@gmail.com>
* lib/local.mk: Here.

Signed-off-by: Stefano Lattarini <[email protected]>
---
 lib/local.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/local.mk b/lib/local.mk
index 36ff484..754e15b 100644
--- a/lib/local.mk
+++ b/lib/local.mk
@@ -15,8 +15,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
 TAGS_FILES = # Incrementally updated later.
-ETAGS_ARGS = # Likewise.
 
 # Additional checks.
 check-local: check-forbidden-patterns
@@ -102,7 +102,6 @@ nodist_autoconflib_DATA = lib/autoconf/autoconf.m4f
 CLEANFILES += $(nodist_autoconflib_DATA)
 
 TAGS_FILES += $(dist_autoconflib_DATA)
-ETAGS_ARGS += $(ETAGS_FOR_AUTOCONF)
 
 forbidden_patterns_files += $(dist_autoconflib_DATA)
 
@@ -169,7 +168,6 @@ lib/m4sugar/version.m4: Makefile
 	mv $@-t $@
 
 TAGS_FILES += $(dist_m4sugarlib_DATA)
-ETAGS_ARGS += $(ETAGS_FOR_AUTOCONF)
 
 forbidden_patterns_files += $(dist_m4sugarlib_DATA)
 
@@ -191,7 +189,6 @@ nodist_autotestlib_DATA = lib/autotest/autotest.m4f
 CLEANFILES += $(nodist_autotestlib_DATA)
 
 TAGS_FILES += $(dist_autotestlib_DATA)
-ETAGS_ARGS += $(ETAGS_FOR_AUTOCONF)
 
 forbidden_patterns_files += $(dist_autotestlib_DATA)
 
-- 
1.8.3.rc0.19.g7e6a0cc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.