summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-25 17:15:49 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-25 17:15:49 +0000
commit772075b6d0a6fc8c040b015cfa21eaaaa49ef5c5 (patch)
tree3f3c7f83ba7d38ae78ea96d5a3f15e02685327ed
parentf900511c4e577055fc80bf07d0a50a459e420de8 (diff)
Let the clean target remove cores,
and let the cleandir target call groff-clean as well.
-rw-r--r--regress/usr.bin/mandoc/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/Makefile.inc b/regress/usr.bin/mandoc/Makefile.inc
index 10a8779b41b..90dfa0ce660 100644
--- a/regress/usr.bin/mandoc/Makefile.inc
+++ b/regress/usr.bin/mandoc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2010/04/23 00:31:00 schwarze Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2010/04/25 17:15:48 schwarze Exp $
DIFF=diff -au
MANDOC?=mandoc
@@ -29,9 +29,11 @@ groff: ${GROFF_TARGETS:C/$/.out_ascii/}
${SH} ${.CURDIR}/${*}.sh
clean:
- rm -f *.mandoc_ascii
+ rm -f *.mandoc_ascii *.core
groff-clean:
.if defined(GROFF_TARGETS)
rm -f ${GROFF_TARGETS:C/$/.out_ascii/}
.endif
+
+cleandir: groff-clean clean