svn commit: r314479 - in head/usr.sbin/fifolog: fifolog_create fifolog_reader fifolog_writer

Ngie Cooper ngie at FreeBSD.org
Wed Mar 1 05:21:23 UTC 2017


Author: ngie
Date: Wed Mar  1 05:21:21 2017
New Revision: 314479
URL: https://svnweb.freebsd.org/changeset/base/314479

Log:
  Use :H to manipulate .CURDIR-relative paths instead of ../
  
  This simplifies make output
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.sbin/fifolog/fifolog_create/Makefile
  head/usr.sbin/fifolog/fifolog_reader/Makefile
  head/usr.sbin/fifolog/fifolog_writer/Makefile

Modified: head/usr.sbin/fifolog/fifolog_create/Makefile
==============================================================================
--- head/usr.sbin/fifolog/fifolog_create/Makefile	Wed Mar  1 05:19:35 2017	(r314478)
+++ head/usr.sbin/fifolog/fifolog_create/Makefile	Wed Mar  1 05:21:21 2017	(r314479)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_create
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 LIBADD=	util fifolog
 

Modified: head/usr.sbin/fifolog/fifolog_reader/Makefile
==============================================================================
--- head/usr.sbin/fifolog/fifolog_reader/Makefile	Wed Mar  1 05:19:35 2017	(r314478)
+++ head/usr.sbin/fifolog/fifolog_reader/Makefile	Wed Mar  1 05:21:21 2017	(r314479)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_reader
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 MAN=
 

Modified: head/usr.sbin/fifolog/fifolog_writer/Makefile
==============================================================================
--- head/usr.sbin/fifolog/fifolog_writer/Makefile	Wed Mar  1 05:19:35 2017	(r314478)
+++ head/usr.sbin/fifolog/fifolog_writer/Makefile	Wed Mar  1 05:21:21 2017	(r314479)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_writer
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 MAN=
 


More information about the svn-src-head mailing list