From: Alexander Traud Date: Fri, 19 Jan 2018 18:14:53 +0000 (+0100) Subject: BuildSystem: Allow make clean all again. X-Git-Tag: 13.20.0-rc1~73^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b566fc8ec5ba78606b07126b27bd5d13c2c5886;p=thirdparty%2Fasterisk.git BuildSystem: Allow make clean all again. ASTERISK-27600 Reported by: Hamid R. Hashmi Change-Id: I683d14d024650be04074b037b6300464519409f4 --- diff --git a/Makefile b/Makefile index 28245aa971..5db5a8d473 100644 --- a/Makefile +++ b/Makefile @@ -104,8 +104,11 @@ export PATCH 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