27 lines
804 B
Plaintext
27 lines
804 B
Plaintext
$OpenBSD: patch-Makefile_in,v 1.6 2010/09/13 17:10:31 naddy Exp $
|
|
|
|
Our groff is too old. We need to pre-format the man pages with mandoc.
|
|
|
|
--- Makefile.in.orig Wed Jun 30 11:54:48 2010
|
|
+++ Makefile.in Mon Sep 13 18:04:52 2010
|
|
@@ -7074,3 +7074,19 @@ cpio/test/list.h: Makefile
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
+
|
|
+.for s in 1 3 5
|
|
+.SUFFIXES: .0 .$s
|
|
+.$s.0:
|
|
+ mandoc $< >$@
|
|
+
|
|
+install-man: install-cat$s
|
|
+install-cat$s:
|
|
+ @for file in ${man_MANS:M*.$s:R:=.0}; do \
|
|
+ $(MKDIR_P) "$(DESTDIR)$(mandir)/cat$s" ; \
|
|
+ echo "$(INSTALL_DATA) '$$file' '$(DESTDIR)$(mandir)/cat$s/'"; \
|
|
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(mandir)/cat$s/"; \
|
|
+ done
|
|
+.endfor
|
|
+
|
|
+all-am: ${man_MANS:R:=.0}
|