svn commit: r314451 - head/usr.sbin/uathload

Ngie Cooper ngie at FreeBSD.org
Wed Mar 1 03:59:20 UTC 2017


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>


More information about the svn-src-head mailing list