summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-09-04 11:13:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-09-04 11:13:09 +0000
commitcb216eb80357f92019f323a36e04ef8f93e381dc (patch)
treef773bc7af7a570610f0bb70163475d93714b61c4
parentb6fa15616f87820958828bf9082fe7f054fa9f80 (diff)
define the targets the parent level forwards with _SUBDIRUSE
-rw-r--r--regress/usr.bin/mandoc/db/Makefile12
-rw-r--r--regress/usr.bin/mandoc/db/Makefile.inc6
2 files changed, 17 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/db/Makefile b/regress/usr.bin/mandoc/db/Makefile
index af0942041c0..f1e80815069 100644
--- a/regress/usr.bin/mandoc/db/Makefile
+++ b/regress/usr.bin/mandoc/db/Makefile
@@ -1,5 +1,15 @@
-# $OpenBSD: Makefile,v 1.1 2016/07/30 10:56:13 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2016/09/04 11:13:08 schwarze Exp $
SUBDIR += binedit dbm_dump makeinodes run
+obj-clean: _SUBDIRUSE
+
+.PHONY: obj-clean
+
+ascii utf8 html lint:
+
+ascii-clean utf8-clean html-clean tman-clean lint-clean:
+
+groff groff-clean html-out html-out-clean lint-out lint-out-clean:
+
.include <bsd.subdir.mk>
diff --git a/regress/usr.bin/mandoc/db/Makefile.inc b/regress/usr.bin/mandoc/db/Makefile.inc
new file mode 100644
index 00000000000..8bfb0cafba1
--- /dev/null
+++ b/regress/usr.bin/mandoc/db/Makefile.inc
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile.inc,v 1.1 2016/09/04 11:13:08 schwarze Exp $
+
+obj-clean:
+ rm -rf ${.CURDIR}/obj/*
+ rm -f ${.CURDIR}/obj
+ cd ${.CURDIR} && ${MAKE} clean