Simplify idioms in usr.sbin/lpr Makefiles
Use :H instead of .CURDIR-relative pathing to simplify make output, etc. MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
ab50e3ceda
commit
b7dcc3f545
@ -1,12 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../common_source
|
||||
.PATH: ${.CURDIR:H}/common_source
|
||||
|
||||
PROG= chkprintcap
|
||||
MAN= chkprintcap.8
|
||||
SRCS= chkprintcap.c skimprintcap.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
LIBADD= lpr
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
PROG= koi2855
|
||||
MAN=
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../common_source
|
||||
CFLAGS+= -I${.CURDIR:H:H}/common_source
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,6 @@
|
||||
PROG= koi2alt
|
||||
MAN=
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../common_source
|
||||
CFLAGS+= -I${.CURDIR:H:H}/common_source
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -6,6 +6,6 @@ BINDIR= ${LIBEXECDIR}/lpr
|
||||
PROG= lpf
|
||||
MAN=
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../common_source
|
||||
.PATH: ${.CURDIR:H}/common_source
|
||||
|
||||
PROG= lpc
|
||||
MAN= lpc.8
|
||||
@ -9,7 +9,7 @@ SRCS= lpc.c cmds.c cmdtab.c movejobs.c
|
||||
BINGRP= daemon
|
||||
BINMODE= 2555
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
WARNS?= 0
|
||||
|
||||
|
@ -5,7 +5,7 @@ PROG= lpd
|
||||
MAN= lpd.8
|
||||
SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
WARNS?= 1
|
||||
|
||||
|
@ -8,7 +8,7 @@ BINOWN= root
|
||||
BINGRP= daemon
|
||||
BINMODE= 6555
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
LIBADD= lpr
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../common_source
|
||||
.PATH: ${.CURDIR:H}/common_source
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
@ -11,7 +11,7 @@ BINOWN= root
|
||||
BINGRP= daemon
|
||||
BINMODE= 6555
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../common_source
|
||||
.PATH: ${.CURDIR:H}/common_source
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
@ -10,7 +10,7 @@ BINOWN= root
|
||||
BINGRP= daemon
|
||||
BINMODE= 6555
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
LIBADD= lpr
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
|
||||
PROG= lptest
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,12 +1,12 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../common_source
|
||||
.PATH: ${.CURDIR:H}/common_source
|
||||
|
||||
PROG= pac
|
||||
MAN= pac.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../common_source
|
||||
CFLAGS+= -I${.CURDIR:H}/common_source
|
||||
|
||||
LIBADD= lpr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user