Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2017 23:57:54 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r317993 - stable/11/gnu/usr.bin/dtc
Message-ID:  <201705082357.v48NvsQS021940@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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