Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2017 03:59:18 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314451 - head/usr.sbin/uathload
Message-ID:  <201703010359.v213xIVu007116@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Mar  1 03:59:18 2017
New Revision: 314451
URL: https://svnweb.freebsd.org/changeset/base/314451

Log:
  Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
  
  The SRCTOP conversion simplifies pathing in make/displayed output.
  
  Also, while here, change a hardcoded path to ar5523.bin.uu in the make target
  with ${.ALLSRC} .
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.sbin/uathload/Makefile

Modified: head/usr.sbin/uathload/Makefile
==============================================================================
--- head/usr.sbin/uathload/Makefile	Wed Mar  1 03:31:12 2017	(r314450)
+++ head/usr.sbin/uathload/Makefile	Wed Mar  1 03:59:18 2017	(r314451)
@@ -10,7 +10,7 @@ FILESMODE=	444
 
 CLEANFILES=	ar5523.bin
 
-ar5523.bin: ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu
-	uudecode -p ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu > ${.TARGET}
+ar5523.bin: ${SRCTOP}/sys/contrib/dev/uath/ar5523.bin.uu
+	uudecode -p ${.ALLSRC} > ${.TARGET}
 
 .include <bsd.prog.mk>



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