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 8e15bb2..f2460dc 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 fafa418..0029b1b 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: