Fix the update target and remove duplicate file updates
authorRichard Levitte <levitte@openssl.org>
Fri, 22 May 2015 15:54:06 +0000 (17:54 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 23 May 2015 09:22:10 +0000 (11:22 +0200)
commiteb797fde3f4c0c89052f20dc2be359a6d02efa22
tree8764223fd7593d871db6bd839d11b30022f23e44
parentb484b040e39e03efbc889a204f5fd2406d7b04b5
Fix the update target and remove duplicate file updates

We had updates of certain header files in both Makefile.org and the
Makefile in the directory the header file lived in.  This is error
prone and also sometimes generates slightly different results (usually
just a comment that differs) depending on which way the update was
done.

This removes the file update targets from the top level Makefile, adds
an update: target in all Makefiles and has it depend on the depend: or
local_depend: targets, whichever is appropriate, so we don't get a
double run through the whole file tree.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 0f539dc1a2f45580435c39dada44dd276e79cb88)

Conflicts:
Makefile.org
apps/Makefile
test/Makefile
63 files changed:
Makefile.org
apps/Makefile
crypto/Makefile
crypto/aes/Makefile
crypto/asn1/Makefile
crypto/bf/Makefile
crypto/bio/Makefile
crypto/bn/Makefile
crypto/buffer/Makefile
crypto/camellia/Makefile
crypto/cast/Makefile
crypto/cmac/Makefile
crypto/cms/Makefile
crypto/comp/Makefile
crypto/conf/Makefile
crypto/des/Makefile
crypto/dh/Makefile
crypto/dsa/Makefile
crypto/dso/Makefile
crypto/ec/Makefile
crypto/ecdh/Makefile
crypto/ecdsa/Makefile
crypto/engine/Makefile
crypto/err/Makefile
crypto/evp/Makefile
crypto/hmac/Makefile
crypto/idea/Makefile
crypto/jpake/Makefile
crypto/krb5/Makefile
crypto/lhash/Makefile
crypto/md2/Makefile
crypto/md4/Makefile
crypto/md5/Makefile
crypto/mdc2/Makefile
crypto/modes/Makefile
crypto/objects/Makefile
crypto/ocsp/Makefile
crypto/pem/Makefile
crypto/pkcs12/Makefile
crypto/pkcs7/Makefile
crypto/pqueue/Makefile
crypto/rand/Makefile
crypto/rc2/Makefile
crypto/rc4/Makefile
crypto/rc5/Makefile
crypto/ripemd/Makefile
crypto/rsa/Makefile
crypto/seed/Makefile
crypto/sha/Makefile
crypto/srp/Makefile
crypto/stack/Makefile
crypto/store/Makefile
crypto/ts/Makefile
crypto/txt_db/Makefile
crypto/ui/Makefile
crypto/whrlpool/Makefile
crypto/x509/Makefile
crypto/x509v3/Makefile
engines/Makefile
engines/ccgost/Makefile
ssl/Makefile
test/Makefile
tools/Makefile