[Asterisk-code-review] BuildSystem: Allow make clean all again. (asterisk[15])
Alexander Traud
asteriskteam at digium.com
Fri Jan 19 12:21:47 CST 2018
Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8026
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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/26/8026/1
diff --git a/Makefile b/Makefile
index 6bc63a1..23751d2 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/8026
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I683d14d024650be04074b037b6300464519409f4
Gerrit-Change-Number: 8026
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180119/10bf5447/attachment.html>
More information about the asterisk-code-review
mailing list