summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2010-06-27 19:56:12 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2010-06-27 19:56:12 +0000
commit2aa866a6af62e49dc2f4f59ebab36f1762bf0f20 (patch)
treef565808751e3dc4d89beb35e6a35b4a4e9396d3f /regress/usr.bin/mandoc
parent5f50e502dcd0fc82337d4ac249b3db3fd2501a00 (diff)
add the groff target to the 'make depend' step, so we build dependencies.
while here, fix building the groff built pages OK schwarze@
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/Makefile3
-rw-r--r--regress/usr.bin/mandoc/Makefile.inc4
2 files changed, 4 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/Makefile b/regress/usr.bin/mandoc/Makefile
index 3849ac66793..ac1a1af100b 100644
--- a/regress/usr.bin/mandoc/Makefile
+++ b/regress/usr.bin/mandoc/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2010/04/25 17:35:31 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2010/06/27 19:56:11 phessler Exp $
SUBDIR+= mdoc char roff
groff groff-clean: _SUBDIRUSE
+depend: groff
.include <bsd.subdir.mk>
diff --git a/regress/usr.bin/mandoc/Makefile.inc b/regress/usr.bin/mandoc/Makefile.inc
index 90dfa0ce660..3f80eb2d939 100644
--- a/regress/usr.bin/mandoc/Makefile.inc
+++ b/regress/usr.bin/mandoc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2010/04/25 17:15:48 schwarze Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2010/06/27 19:56:11 phessler Exp $
DIFF=diff -au
MANDOC?=mandoc
@@ -21,7 +21,7 @@ groff: ${GROFF_TARGETS:C/$/.out_ascii/}
.in.out_ascii:
@echo " -> ${*}"
- @${NROFF} ${.CURDIR}/${<} | ${SED} '$$d' > ${@}
+ @${NROFF} ${<} | ${SED} '$$d' > ${@}
.sh:
@echo " -> ${*}"