summaryrefslogtreecommitdiffstats
path: root/crypto/txt_db
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-05-22 17:54:06 +0200
committerRichard Levitte <levitte@openssl.org>2015-05-22 18:44:33 +0200
commit0f539dc1a2f45580435c39dada44dd276e79cb88 (patch)
treebb72d0787997435b7151733f0db43f2c729742fc /crypto/txt_db
parentIgnore files from other branches (diff)
downloadopenssl-0f539dc1a2f45580435c39dada44dd276e79cb88.tar.xz
openssl-0f539dc1a2f45580435c39dada44dd276e79cb88.zip
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>
Diffstat (limited to 'crypto/txt_db')
-rw-r--r--crypto/txt_db/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/txt_db/Makefile b/crypto/txt_db/Makefile
index ca967ab090..6e9d372a4e 100644
--- a/crypto/txt_db/Makefile
+++ b/crypto/txt_db/Makefile
@@ -45,6 +45,8 @@ tests:
lint:
lint -DLINT $(INCLUDES) $(SRC)>fluff
+update: depend
+
depend:
@[ -n "$(MAKEDEPEND)" ] # should be set by top Makefile...
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)