From: Orgad Shaneh Date: Mon, 27 Nov 2017 12:34:22 +0000 (+0200) Subject: Fix make distclean with non-standard make (#134) X-Git-Tag: 1.9.9-b1~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860d7a30f20f0c1e71bc0d8b0d84b88293326f6c;p=thirdparty%2Fzlib-ng.git Fix make distclean with non-standard make (#134) Like mingw32-make --- diff --git a/Makefile.in b/Makefile.in index 07dc4ac2f..e7a62a9e5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -283,7 +283,7 @@ distclean: clean # Reset Makefile if building inside source tree @if [ -f Makefile.in ]; then \ printf 'all:\n\t-@echo "Please use ./configure first. Thank you."\n' > Makefile ; \ - printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile ; \ + printf '\ndistclean:\n\t$(MAKE) -f Makefile.in distclean\n' >> Makefile ; \ touch -r $(SRCDIR)/Makefile.in Makefile ; fi # Reset zconf.h and zconf.h.cmakein if building inside source tree @if [ -f zconf.h.in ]; then \