]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix make distclean with non-standard make (#134)
authorOrgad Shaneh <orgads@gmail.com>
Mon, 27 Nov 2017 12:34:22 +0000 (14:34 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 27 Nov 2017 12:34:22 +0000 (13:34 +0100)
Like mingw32-make

Makefile.in

index 07dc4ac2f0876c59aa4431b54356e058211a8ac1..e7a62a9e52fd5b86a11d6f4ea1ed592c71327f1e 100644 (file)
@@ -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 \