Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2017 17:37:55 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315010 - head/gnu/usr.bin/dtc
Message-ID:  <201703101737.v2AHbtjV058158@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Fri Mar 10 17:37:55 2017
New Revision: 315010
URL: https://svnweb.freebsd.org/changeset/base/315010

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

Modified:
  head/gnu/usr.bin/dtc/Makefile

Modified: head/gnu/usr.bin/dtc/Makefile
==============================================================================
--- head/gnu/usr.bin/dtc/Makefile	Fri Mar 10 17:36:05 2017	(r315009)
+++ head/gnu/usr.bin/dtc/Makefile	Fri Mar 10 17:37:55 2017	(r315010)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703101737.v2AHbtjV058158>