Don't use MANDEPEND and MANSRC.
This commit is contained in:
parent
71d8277b51
commit
0414fc4dd0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74804
@ -143,5 +143,3 @@ revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(GROFF_DIST)/REVISION`
|
|||||||
-e "s;@g@;$(g);g" \
|
-e "s;@g@;$(g);g" \
|
||||||
-e "s;@G@;`echo $(g) | tr [a-z] [A-Z]`;g" \
|
-e "s;@G@;`echo $(g) | tr [a-z] [A-Z]`;g" \
|
||||||
$< >$@
|
$< >$@
|
||||||
|
|
||||||
MANSRC=${.OBJDIR}
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= manpath
|
PROG= manpath
|
||||||
SRCS= manpath.c
|
|
||||||
MAN1= manpath.1
|
|
||||||
|
|
||||||
DPADD= ${LIBMAN}
|
DPADD= ${LIBMAN}
|
||||||
LDADD= ${LIBMAN}
|
LDADD= ${LIBMAN}
|
||||||
@ -10,11 +8,10 @@ LDADD= ${LIBMAN}
|
|||||||
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
|
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
|
||||||
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
|
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
|
||||||
CLEANFILES+= ${MAN1}
|
CLEANFILES+= ${MAN1}
|
||||||
MANDEPEND+= ${MAN1}
|
|
||||||
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
${MAN1}: ${.CURDIR}/manpath.man
|
${MAN1}: ${.CURDIR}/manpath.man
|
||||||
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
||||||
sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
|
sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
|
||||||
${.CURDIR}/manpath.man > ${MAN1}
|
${.ALLSRC} > ${.TARGET}
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
|
||||||
|
@ -121,8 +121,6 @@ ${ARCH_PREFIX}${i}: ${.CURDIR}/${ARCH}/${i}
|
|||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
MANSRC= ${.CURDIR}/man
|
|
||||||
|
|
||||||
MAN3+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
|
MAN3+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
|
||||||
cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \
|
cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \
|
||||||
ieee_test.3 j0.3 lgamma.3 math.3 rint.3 sin.3 sinh.3 sqrt.3 \
|
ieee_test.3 j0.3 lgamma.3 math.3 rint.3 sin.3 sinh.3 sqrt.3 \
|
||||||
|
@ -15,6 +15,7 @@ CFLAGS+=-I${MAINSRC} -I${.CURDIR}
|
|||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
${MAN8}: atrun.man
|
${MAN8}: atrun.man
|
||||||
|
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
||||||
sed -e \
|
sed -e \
|
||||||
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
|
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
|
||||||
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
|
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
PROG= at
|
PROG= at
|
||||||
CFLAGS+=-Wall
|
CFLAGS+=-Wall
|
||||||
SRCS= at.c panic.c parsetime.c perm.c
|
SRCS= at.c panic.c parsetime.c perm.c
|
||||||
LINKS= ${BINDIR}/at ${BINDIR}/atq \
|
LINKS= ${BINDIR}/at ${BINDIR}/atq \
|
||||||
${BINDIR}/at ${BINDIR}/atrm \
|
${BINDIR}/at ${BINDIR}/atrm \
|
||||||
${BINDIR}/at ${BINDIR}/batch
|
${BINDIR}/at ${BINDIR}/batch
|
||||||
@ -13,9 +13,7 @@ MLINKS= at.1 batch.1 \
|
|||||||
at.1 atrm.1
|
at.1 atrm.1
|
||||||
|
|
||||||
BINMODE= 4555
|
BINMODE= 4555
|
||||||
MANSRC= .
|
|
||||||
CLEANFILES += ${MAN1}
|
CLEANFILES += ${MAN1}
|
||||||
MANDEPEND = ${MAN1}
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
@ -29,5 +27,4 @@ ${MAN1}: at.man
|
|||||||
s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
|
s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
|
||||||
s@_PERM_PATH@$(PERM_PATH)@g; \
|
s@_PERM_PATH@$(PERM_PATH)@g; \
|
||||||
s@_LOCKFILE@$(LOCKFILE)@g" \
|
s@_LOCKFILE@$(LOCKFILE)@g" \
|
||||||
< ${.OODATE} > ${.TARGET}
|
< ${.ALLSRC} > ${.TARGET}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user