Add a make distclean rule in the OpenSSL_1_0_2 branch
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 5 Feb 2017 11:38:09 +0000 (12:38 +0100)
committerRich Salz <rsalz@openssl.org>
Wed, 15 Feb 2017 23:55:23 +0000 (18:55 -0500)
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2554)

Makefile.org

index 61a329b4f20f6ebaac9c20dd536d70ee561bbbb7..f51f0a756c3e08fb5301cbe2bf31e503389879e2 100644 (file)
@@ -424,6 +424,14 @@ clean:     libclean
        rm -fr $$i/*; \
        done
 
+distclean: clean
+       -$(RM) `find . -name .git -prune -o -type l -print`
+       $(RM) apps/CA.pl
+       $(RM) test/evptests.txt test/newkey.pem test/testkey.pem test/testreq.pem
+       $(RM) tools/c_rehash
+       $(RM) crypto/opensslconf.h
+       $(RM) Makefile Makefile.bak
+
 makefile.one: files
        $(PERL) util/mk1mf.pl >makefile.one; \
        sh util/do_ms.sh