]> 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>
Tue, 1 Nov 2022 12:24:30 +0000 (13:24 +0100)
Makefile.in

index f068184e3a08df2f8994df06847465e3404d8baf..88d40cb662faf0b5e262865c08650bd01408d675 100644 (file)
@@ -367,7 +367,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
 
@@ -375,7 +374,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 zlib$(SUFFIX).h zlib_name_mangling$(SUFFIX)}.h
+       rm -f $(PKGFILE) configure.log zconf.h zconf.h.cmakein zlib$(SUFFIX).h zlib_name_mangling$(SUFFIX)}.h *.pc
        -@rm -f .DS_Store
 # Reset Makefile if building inside source tree
        @if [ -f Makefile.in ]; then \