From f55efa314e0fa0f048907305f49ee016831d0676 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 13 Jan 2008 17:22:58 +0000 Subject: [PATCH] More __foo__ substitutions for xterm manual pages. From Tim van der Molen, Thanks. --- app/xterm/Makefile | 7 ++++--- app/xterm/resize/Makefile | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/xterm/Makefile b/app/xterm/Makefile index 643bb0753..77360c346 100644 --- a/app/xterm/Makefile +++ b/app/xterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2007/08/25 19:17:16 matthieu Exp $ +# $OpenBSD: Makefile,v 1.8 2008/01/13 17:22:58 matthieu Exp $ SUBDIR= icons resize @@ -28,9 +28,10 @@ XETC?= /etc/X11 xterm.1tbl: xterm.man sed -e 's#__vendorversion__#"X Window System"#g' \ + -e 's#__mansuffix__#1#g' \ -e 's#__miscmansuffix__#1#g' \ - -e 's#__apploaddir__#${X11ETC}/app-defaults#g' \ - < ${.CURDIR}/xterm.man > $@ + -e 's#__apploaddir__#${X11ETC}/app-defaults#g' \ + < ${.CURDIR}/xterm.man > $@ CLEANFILES+= xterm.1tbl diff --git a/app/xterm/resize/Makefile b/app/xterm/resize/Makefile index 032aa2a6c..7abf4539d 100644 --- a/app/xterm/resize/Makefile +++ b/app/xterm/resize/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2007/05/11 06:54:20 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2008/01/13 17:22:58 matthieu Exp $ PROG= resize MAN= resize.1 @@ -17,9 +17,10 @@ SRCS= resize.c xstrings.c resize.1: resize.man sed -e 's#__vendorversion__#"X Window System"#g' \ + -e 's#__mansuffix__#1#g' \ -e 's#__miscmansuffix__#1#g' \ - -e 's#__apploaddir__#${X11ETC}/app-defaults#g' \ - < ${.CURDIR}/../resize.man > $@ + -e 's#__apploaddir__#${X11ETC}/app-defaults#g' \ + < ${.CURDIR}/../resize.man > $@ CLEANFILES+= resize.1