svn commit: r317993 - stable/11/gnu/usr.bin/dtc

Oleksandr Tymoshenko gonzo at FreeBSD.org
Mon May 8 23:57:56 UTC 2017


Author: gonzo
Date: Mon May  8 23:57:54 2017
New Revision: 317993
URL: https://svnweb.freebsd.org/changeset/base/317993

Log:
  MFC r315010:
  
  [dtc] regenerate version file if upstream Makefile has been changed
  
  Keep version file in sync by adding dependency to upstream Makefile

Modified:
  stable/11/gnu/usr.bin/dtc/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/gnu/usr.bin/dtc/Makefile
==============================================================================
--- stable/11/gnu/usr.bin/dtc/Makefile	Mon May  8 22:44:16 2017	(r317992)
+++ stable/11/gnu/usr.bin/dtc/Makefile	Mon May  8 23:57:54 2017	(r317993)
@@ -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


More information about the svn-src-all mailing list