]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Makefile.in: distclean should remove zlib.pc instead of clean
authortch69 <44942508+tch69@users.noreply.github.com>
Thu, 27 Oct 2022 14:42:19 +0000 (21:42 +0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 17 Mar 2023 20:27:56 +0000 (21:27 +0100)
Makefile.in

index 25ad5fb1609d512fddaa10a066569609ffb32b53..59ac99d3d41686f56dc439a48126c04c7437ab90 100644 (file)
@@ -417,7 +417,6 @@ clean:
        rm -rf objs
        rm -f *.gcda *.gcno *.gcov
        rm -f a.out a.exe
-       rm -f *.pc
        rm -f *._h
        rm -rf btmp1 btmp2 pkgtmp1 pkgtmp2
 
@@ -425,7 +424,7 @@ maintainer-clean: distclean
 distclean: clean
        @if [ -f $(ARCHDIR)/Makefile ]; then $(MAKE) -C $(ARCHDIR) distclean; fi
        @if [ -f test/Makefile ]; then $(MAKE) -C test distclean; fi
-       rm -f $(PKGFILE) configure.log zconf.h zconf.h.cmakein
+       rm -f $(PKGFILE) configure.log zconf.h zconf.h.cmakein *.pc
        -@rm -f .DS_Store
 # Reset Makefile if building inside source tree
        @if [ -f Makefile.in ]; then \