[asterisk-commits] Remove *.gcna / *.gcno files from added module sources. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 18 19:24:28 CST 2016


Joshua Colp has submitted this change and it was merged.

Change subject: Remove *.gcna / *.gcno files from added module sources.
......................................................................


Remove *.gcna / *.gcno files from added module sources.

Asterisk uses a Makefile macro to associate additional sources with a
module.  This macro is responsible for creating clean targets but
previously left behind *.gcna and *.gcno files.

ASTERISK-25683 #close
Reported by yaron nahum

Change-Id: Idc0823fe80a25c42cefae901fde875e9fc38d8ea
---
M Makefile.moddir_rules
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mark Michelson: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
index df715d9..a92b0d8 100644
--- a/Makefile.moddir_rules
+++ b/Makefile.moddir_rules
@@ -77,7 +77,7 @@
 clean:: clean-$(1)$(3)
 
 clean-$(1)$(3):
-	rm -f $$(subst $(3),$(5),$(2)) $$(subst $(3),$(4),$(2))
+	rm -f $$(subst $(3),$(4),$(2)) $$(subst $(3),$(5),$(2)) $$(subst $(3),$(6),$(2)) $$(subst $(3),$(7),$(2))
 
 endef
 

-- 
To view, visit https://gerrit.asterisk.org/2011
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idc0823fe80a25c42cefae901fde875e9fc38d8ea
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-commits mailing list