summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2017-05-08 23:57:54 +0000
committergonzo <gonzo@FreeBSD.org>2017-05-08 23:57:54 +0000
commit43119403e36b05aeacb71b8adf8d1868d2144cd6 (patch)
tree1ffa03919ee70b90b576470a24a2b768a84b2ca9
parentba6f361ad7376120a34cdf3c512d8bbf14bee934 (diff)
downloadFreeBSD-src-43119403e36b05aeacb71b8adf8d1868d2144cd6.zip
FreeBSD-src-43119403e36b05aeacb71b8adf8d1868d2144cd6.tar.gz
MFC r315010:
[dtc] regenerate version file if upstream Makefile has been changed Keep version file in sync by adding dependency to upstream Makefile
-rw-r--r--gnu/usr.bin/dtc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/dtc/Makefile b/gnu/usr.bin/dtc/Makefile
index cdbbf4b..d9fcc64 100644
--- a/gnu/usr.bin/dtc/Makefile
+++ b/gnu/usr.bin/dtc/Makefile
@@ -34,7 +34,7 @@ OBJS+= dtc-parser.tab.o dtc-lexer.lex.o
CLEANFILES+= dtc-parser.tab.o dtc-lexer.lex.o dtc-parser.tab.c \
dtc-parser.tab.h dtc-lexer.lex.c ${DTCVERSIONFILE}
-${DTCVERSIONFILE}:
+${DTCVERSIONFILE}: ${DTCDIR}/Makefile
@echo '#define DTC_VERSION "DTC ${DTCVERSION}"' > ${DTCVERSIONFILE}
dtc-parser.tab.o: dtc-parser.tab.c dtc-parser.tab.h
OpenPOWER on IntegriCloud