svn commit: r319184 - in stable/11/bin: csh df freebsd-version rmail sh
Ngie Cooper
ngie at FreeBSD.org
Tue May 30 04:15:42 UTC 2017
Author: ngie
Date: Tue May 30 04:15:40 2017
New Revision: 319184
URL: https://svnweb.freebsd.org/changeset/base/319184
Log:
MFC r314655:
bin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
Modified:
stable/11/bin/csh/Makefile
stable/11/bin/df/Makefile
stable/11/bin/freebsd-version/Makefile
stable/11/bin/rmail/Makefile
stable/11/bin/sh/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/bin/csh/Makefile
==============================================================================
--- stable/11/bin/csh/Makefile Tue May 30 04:13:06 2017 (r319183)
+++ stable/11/bin/csh/Makefile Tue May 30 04:15:40 2017 (r319184)
@@ -9,7 +9,7 @@
.include <src.opts.mk>
PACKAGE=runtime
-TCSHDIR= ${.CURDIR}/../../contrib/tcsh
+TCSHDIR= ${SRCTOP}/contrib/tcsh
.PATH: ${TCSHDIR}
PROG= csh
Modified: stable/11/bin/df/Makefile
==============================================================================
--- stable/11/bin/df/Makefile Tue May 30 04:13:06 2017 (r319183)
+++ stable/11/bin/df/Makefile Tue May 30 04:15:40 2017 (r319184)
@@ -2,7 +2,7 @@
# $FreeBSD$
PACKAGE=runtime
-MOUNT= ${.CURDIR}/../../sbin/mount
+MOUNT= ${SRCTOP}/sbin/mount
.PATH: ${MOUNT}
PROG= df
Modified: stable/11/bin/freebsd-version/Makefile
==============================================================================
--- stable/11/bin/freebsd-version/Makefile Tue May 30 04:13:06 2017 (r319183)
+++ stable/11/bin/freebsd-version/Makefile Tue May 30 04:15:40 2017 (r319184)
@@ -4,7 +4,7 @@ PACKAGE=runtime
SCRIPTS = freebsd-version
MAN = freebsd-version.1
CLEANFILES = freebsd-version freebsd-version.sh
-NEWVERS = ${.CURDIR}/../../sys/conf/newvers.sh
+NEWVERS = ${SRCTOP}/sys/conf/newvers.sh
freebsd-version.sh: ${.CURDIR}/freebsd-version.sh.in ${NEWVERS}
eval $$(egrep '^(TYPE|REVISION|BRANCH)=' ${NEWVERS}) ; \
Modified: stable/11/bin/rmail/Makefile
==============================================================================
--- stable/11/bin/rmail/Makefile Tue May 30 04:13:06 2017 (r319183)
+++ stable/11/bin/rmail/Makefile Tue May 30 04:15:40 2017 (r319184)
@@ -2,7 +2,7 @@
# $FreeBSD$
PACKAGE=sendmail
-SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
+SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/rmail
# Not much point this being static. It calls a shared sendmail...
Modified: stable/11/bin/sh/Makefile
==============================================================================
--- stable/11/bin/sh/Makefile Tue May 30 04:13:06 2017 (r319183)
+++ stable/11/bin/sh/Makefile Tue May 30 04:15:40 2017 (r319184)
@@ -28,9 +28,9 @@ WARNS?= 2
WFORMAT=0
.PATH: ${.CURDIR}/bltin \
- ${.CURDIR}/../kill \
- ${.CURDIR}/../test \
- ${.CURDIR}/../../usr.bin/printf
+ ${.CURDIR:H}/kill \
+ ${.CURDIR:H}/test \
+ ${SRCTOP}/usr.bin/printf
CLEANFILES+= mknodes mknodes.o \
mksyntax mksyntax.o
More information about the svn-src-stable-11
mailing list