From dd11241897476e0ffe984dd0aecd2212fb9c26a3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 29 May 2009 17:09:11 -0700 Subject: [PATCH] Rename COVERAGE_SOURCES to COVERAGE_FILES to avoid Automake warning. _SOURCES ordinarily lists the source files for , but that wasn't true in this case so Automake issued a warning. --- lib/automake.mk | 6 +++--- lib/coverage.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/automake.mk b/lib/automake.mk index 255e2fd3..3ea9d7e1 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -159,7 +159,7 @@ install-data-local: $(MKDIR_P) $(DESTDIR)$(LOGDIR) # All the source files that have coverage counters. -COVERAGE_SOURCES = \ +COVERAGE_FILES = \ lib/dpif.c \ lib/flow.c \ lib/hmap.c \ @@ -178,7 +178,7 @@ COVERAGE_SOURCES = \ secchan/pktbuf.c \ vswitchd/bridge.c \ vswitchd/mgmt.c -lib/coverage-counters.c: $(COVERAGE_SOURCES) lib/coverage-scan.pl - (cd $(srcdir) && $(PERL) lib/coverage-scan.pl $(COVERAGE_SOURCES)) > $@.tmp +lib/coverage-counters.c: $(COVERAGE_FILES) lib/coverage-scan.pl + (cd $(srcdir) && $(PERL) lib/coverage-scan.pl $(COVERAGE_FILES)) > $@.tmp mv $@.tmp $@ EXTRA_DIST += lib/coverage-scan.pl diff --git a/lib/coverage.h b/lib/coverage.h index 1d5bcc2f..f3156d9c 100644 --- a/lib/coverage.h +++ b/lib/coverage.h @@ -55,7 +55,7 @@ struct coverage_counter { /* Increments the counter with the given NAME. Coverage counters need not be * declared explicitly, but when you add the first coverage counter to a given - * file, you must also add that file to COVERAGE_SOURCES in lib/automake.mk. */ + * file, you must also add that file to COVERAGE_FILES in lib/automake.mk. */ #define COVERAGE_INC(NAME) \ do { \ extern struct coverage_counter NAME##_count; \ -- 2.30.2