summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-07 12:53:58 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-07 12:53:58 -0700
commit2b5316265c5ce6c7dbd8f726826d5d5a7385febd (patch)
treed0603d97524973dfd95c5c70fcce0d309cb31206 /man
parent888aece87c0af4e0b326d4d92fcc079f249a7f73 (diff)
configure: use @-style substitutions for man pages instead of __-style
Moves substitution of variables from Makefile.am to configure.ac in preparation for allowing meson.build to do the same. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/appres/-/merge_requests/4>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am5
-rw-r--r--man/appres.man4
2 files changed, 2 insertions, 7 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 76a8224..0c8ce75 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -5,8 +5,3 @@ appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
EXTRA_DIST = $(appman_PRE)
CLEANFILES = $(appman_DATA)
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
diff --git a/man/appres.man b/man/appres.man
index 10ec801..8e78a9d 100644
--- a/man/appres.man
+++ b/man/appres.man
@@ -22,7 +22,7 @@
.\" other dealings in this Software without prior written authorization
.\" from The Open Group.
.\"
-.TH APPRES 1 __xorgversion__
+.TH APPRES 1 "@PACKAGE_STRING@" "@XORG_MAN_PAGE@"
.SH NAME
appres \- list X application resource database
.SH SYNOPSIS
@@ -86,6 +86,6 @@ will list the resources matching the \fIxterm\fP vt100 widget.
The -V option prints the appres command version and exits.
.SH "SEE ALSO"
.PP
-X(__miscmansuffix__), xrdb(__appmansuffix__), listres(__appmansuffix__)
+X(@MISC_MAN_SUFFIX@), xrdb(@APP_MAN_SUFFIX@), listres(@APP_MAN_SUFFIX@)
.SH AUTHOR
Jim Fulton, MIT X Consortium