]> git.lizzy.rs Git - zlib.git/commitdiff
Remove destructive aspects of make distclean.
authorMark Adler <madler@alumni.caltech.edu>
Sun, 27 Mar 2022 18:01:50 +0000 (11:01 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 27 Mar 2022 18:01:50 +0000 (11:01 -0700)
Makefile.in

index 3413266aed1a27d69fabdd72e93bac57663fea08..802be7ff8a4e9a3de30d5b34b9530b04390c0c12 100644 (file)
@@ -376,15 +376,13 @@ clean:
        rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov
 
 maintainer-clean: distclean
-distclean: clean zconf zconf.h.cmakein docs
+distclean: clean zconf zconf.h.cmakein
        rm -f Makefile zlib.pc configure.log
        -@rm -f .DS_Store
        @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 ; \
        touch -r $(SRCDIR)Makefile.in Makefile ; fi
-       @if [ ! -f zconf.h.in ]; then rm -f zconf.h zconf.h.cmakein ; fi
-       @if [ ! -f zlib.3 ]; then rm -f zlib.3.pdf ; fi
 
 tags:
        etags $(SRCDIR)*.[ch]