RT3497: Fix; don't remove header files
authorRich Salz <rsalz@openssl.org>
Mon, 15 Dec 2014 14:18:11 +0000 (09:18 -0500)
committerRich Salz <rsalz@openssl.org>
Mon, 15 Dec 2014 14:18:11 +0000 (09:18 -0500)
Doing 'config ; make clean' broke because clean removed
header files that normal build didn't create.  So don't
remove those files.  Hopefully will be better addressed by
Geoff's no-symlinks patch.

Reviewed-by: Matt Caswell <matt@openssl.org>
Makefile.org
crypto/Makefile

index 8e15bb24507e41717b69788fa560d6e9029671bc..f2460dc180a00450664e7f8c5663d0d308c28e11 100644 (file)
@@ -478,7 +478,7 @@ libclean:
 
 clean: libclean
        rm -f shlib/*.o *.o core a.out fluff rehash.time testlog make.log cctest cctest.c
-       rm -rf *.bak include/openssl certs/.0
+       rm -rf *.bak certs/.0
        @set -e; target=clean; $(RECURSIVE_BUILD_CMD)
        rm -f $(LIBS) tags TAGS
        rm -f openssl.pc libssl.pc libcrypto.pc
index fafa4187566959efeac5854f7781d9e9f8199384..0029b1b5bd01587b67f14ff511796022714f6512 100644 (file)
@@ -141,7 +141,6 @@ depend:
 
 clean:
        rm -f buildinf.h *.s *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
-       rm -f opensslconf.h
        @target=clean; $(RECURSIVE_MAKE)
 
 dclean: