Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 01:02:37 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r321272 - in stable/10/usr.sbin/fifolog: fifolog_create fifolog_reader fifolog_writer
Message-ID:  <201707200102.v6K12bJn038434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jul 20 01:02:37 2017
New Revision: 321272
URL: https://svnweb.freebsd.org/changeset/base/321272

Log:
  MFC r314479:
  
  Use :H to manipulate .CURDIR-relative paths instead of ../
  
  This simplifies make output

Modified:
  stable/10/usr.sbin/fifolog/fifolog_create/Makefile
  stable/10/usr.sbin/fifolog/fifolog_reader/Makefile
  stable/10/usr.sbin/fifolog/fifolog_writer/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/fifolog/fifolog_create/Makefile
==============================================================================
--- stable/10/usr.sbin/fifolog/fifolog_create/Makefile	Thu Jul 20 01:02:30 2017	(r321271)
+++ stable/10/usr.sbin/fifolog/fifolog_create/Makefile	Thu Jul 20 01:02:37 2017	(r321272)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_create
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 DPADD=	${LIBFIFOLOG} ${LIBUTIL}
 LDADD=	${LIBFIFOLOG} -lutil

Modified: stable/10/usr.sbin/fifolog/fifolog_reader/Makefile
==============================================================================
--- stable/10/usr.sbin/fifolog/fifolog_reader/Makefile	Thu Jul 20 01:02:30 2017	(r321271)
+++ stable/10/usr.sbin/fifolog/fifolog_reader/Makefile	Thu Jul 20 01:02:37 2017	(r321272)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_reader
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 MAN=
 

Modified: stable/10/usr.sbin/fifolog/fifolog_writer/Makefile
==============================================================================
--- stable/10/usr.sbin/fifolog/fifolog_writer/Makefile	Thu Jul 20 01:02:30 2017	(r321271)
+++ stable/10/usr.sbin/fifolog/fifolog_writer/Makefile	Thu Jul 20 01:02:37 2017	(r321272)
@@ -2,7 +2,7 @@
 
 PROG=	fifolog_writer
 
-CFLAGS+= -I${.CURDIR}/../lib
+CFLAGS+= -I${.CURDIR:H}/lib
 
 MAN=
 



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