summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/usr.bin/mandoc/mdoc/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Xr/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Xr/args.in21
3 files changed, 29 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Makefile b/regress/usr.bin/mandoc/mdoc/Makefile
index 774c9dd6414..36be7817681 100644
--- a/regress/usr.bin/mandoc/mdoc/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.4 2010/01/02 02:35:53 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2010/02/17 22:35:17 schwarze Exp $
-SUBDIR+= Bl Fl In Pa Rs Sm
+SUBDIR+= Bl Fl In Pa Rs Sm Xr
groff groff-clean: _SUBDIRUSE
diff --git a/regress/usr.bin/mandoc/mdoc/Xr/Makefile b/regress/usr.bin/mandoc/mdoc/Xr/Makefile
new file mode 100644
index 00000000000..bf244d524a6
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Xr/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2010/02/17 22:35:17 schwarze Exp $
+
+REGRESS_TARGETS=args
+GROFF_TARGETS=args
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Xr/args.in b/regress/usr.bin/mandoc/mdoc/Xr/args.in
new file mode 100644
index 00000000000..9f577e7019f
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Xr/args.in
@@ -0,0 +1,21 @@
+.Dd $Mdocdate: February 17 2010 $
+.Dt XR-ARGS 1
+.Os
+.Sh NAME
+.Nm Xr-args
+.Nd additional arguments to cross references
+.Sh DESCRIPTION
+One single
+.Xr echo 1
+is fine.
+.Pp
+But listen for multiple
+.Xr echo 1 s .
+.Pp
+Listen for those
+.Xr echo 1 s really hard .
+.Pp
+A call, an
+.Xr echo 1 , and
+another
+.Xr echo 1 .