aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-26 07:28:26 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-26 07:28:26 +0000
commit0414fc4dd0ee3a278182d1125da0c820a6c602b0 (patch)
treec65a66e1444b7482fc43627b851b90958a000e4e /gnu/usr.bin
parent71d8277b51882c2fd84723e5b74c2cbe92635fe6 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/groff/Makefile.cfg2
-rw-r--r--gnu/usr.bin/man/manpath/Makefile9
2 files changed, 3 insertions, 8 deletions
diff --git a/gnu/usr.bin/groff/Makefile.cfg b/gnu/usr.bin/groff/Makefile.cfg
index 90964d49c3ca..af7dc6761a9b 100644
--- a/gnu/usr.bin/groff/Makefile.cfg
+++ b/gnu/usr.bin/groff/Makefile.cfg
@@ -143,5 +143,3 @@ revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(GROFF_DIST)/REVISION`
-e "s;@g@;$(g);g" \
-e "s;@G@;`echo $(g) | tr [a-z] [A-Z]`;g" \
$< >$@
-
-MANSRC=${.OBJDIR}
diff --git a/gnu/usr.bin/man/manpath/Makefile b/gnu/usr.bin/man/manpath/Makefile
index 79d3b5da0ec5..72f4d806697f 100644
--- a/gnu/usr.bin/man/manpath/Makefile
+++ b/gnu/usr.bin/man/manpath/Makefile
@@ -1,8 +1,6 @@
# $FreeBSD$
PROG= manpath
-SRCS= manpath.c
-MAN1= manpath.1
DPADD= ${LIBMAN}
LDADD= ${LIBMAN}
@@ -10,11 +8,10 @@ LDADD= ${LIBMAN}
CFLAGS+= -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS
CFLAGS+= -DALT_SYSTEMS -I${.CURDIR}/../lib -I${.OBJDIR}/../lib
CLEANFILES+= ${MAN1}
-MANDEPEND+= ${MAN1}
+
+.include <bsd.prog.mk>
${MAN1}: ${.CURDIR}/manpath.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
- ${.CURDIR}/manpath.man > ${MAN1}
-
-.include <bsd.prog.mk>
+ ${.ALLSRC} > ${.TARGET}