[Asterisk-code-review] BuildSystem: Allow make clean all again. (asterisk[13])
Jenkins2
asteriskteam at digium.com
Mon Jan 22 09:16:11 CST 2018
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8025 )
Change subject: BuildSystem: Allow make clean all again.
......................................................................
BuildSystem: Allow make clean all again.
ASTERISK-27600
Reported by: Hamid R. Hashmi
Change-Id: I683d14d024650be04074b037b6300464519409f4
---
M Makefile
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
Corey Farrell: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/Makefile b/Makefile
index 28245aa..5db5a8d 100644
--- a/Makefile
+++ b/Makefile
@@ -104,8 +104,11 @@
export SED
export NM
-# makeopts is required unless the goal is clean or distclean
-ifeq ($(findstring clean,$(MAKECMDGOALS)),)
+# makeopts is required unless the goal is just {dist{-}}clean
+ifeq ($(MAKECMDGOALS),clean)
+else ifeq ($(MAKECMDGOALS),distclean)
+else ifeq ($(MAKECMDGOALS),dist-clean)
+else
include makeopts
endif
--
To view, visit https://gerrit.asterisk.org/8025
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I683d14d024650be04074b037b6300464519409f4
Gerrit-Change-Number: 8025
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180122/4d636371/attachment.html>
More information about the asterisk-code-review
mailing list