diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-04 11:51:39 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-04 11:51:39 +0000 |
commit | c5d6b8dcd9d1a18891a107ea170ff1da090ebe13 (patch) | |
tree | 29aba913df5a377c5e48c60ade26b02a1ad17fc0 /regress | |
parent | ac7461cedfb584c40dd6bfd23d3dcb180f23f6a6 (diff) |
Mandoc db dump regress depends on objects existing in usr.bin/mandoc.
Build them there if they are missing. This allows to run the tests
without runnning a make build before.
OK schwarze@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/db/dbm_dump/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/db/dbm_dump/Makefile b/regress/usr.bin/mandoc/db/dbm_dump/Makefile index 9a8acc8648e..3cfce5dffd3 100644 --- a/regress/usr.bin/mandoc/db/dbm_dump/Makefile +++ b/regress/usr.bin/mandoc/db/dbm_dump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2016/09/01 17:42:08 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2016/09/04 11:51:38 bluhm Exp $ PROG = dbm_dump CPPFLAGS += -I${BSDSRCDIR}/usr.bin/mandoc @@ -11,6 +11,8 @@ regress: dbm_dump dbm_dump: ${MOBJS} ${MOBJS}: + @cd ${BSDSRCDIR}/usr.bin/mandoc && make depend + @cd ${BSDSRCDIR}/usr.bin/mandoc && make ${MOBJS} @cp ${BSDOBJDIR}/usr.bin/mandoc/$@ . || \ cp ${BSDSRCDIR}/usr.bin/mandoc/$@ . |