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>
Fri, 22 May 2015 16:44:33 +0000 (18:44 +0200)
commit0f539dc1a2f45580435c39dada44dd276e79cb88
treebb72d0787997435b7151733f0db43f2c729742fc
parent8757bf83775afe10cb18d15943248a75bcc6a24b
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>
62 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/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