[PATCH] Update manpage with the proper location of system.twmrc file
walter harms
wharms at bfs.de
Mon Aug 4 07:48:58 PDT 2014
Am 04.08.2014 16:39, schrieb Laurent Carlier:
> Signed-off-by: Laurent Carlier <lordheavym at gmail.com>
> ---
> man/Makefile.am | 2 ++
> man/twm.man | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/man/Makefile.am b/man/Makefile.am
> index 7d45968..f59d5b5 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -33,6 +33,8 @@ CLEANFILES = $(appman_DATA)
>
> SUFFIXES = .$(APP_MAN_SUFFIX) .man
>
> +MAN_SUBSTS += -e 's|__datadir__|$(datadir)|g'
> +
I never noticed that one can use "|" as replacement for "/" in sed.
Since the documentation of sed describes "/", why "|" in this case ?
re,
wh
> # 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/twm.man b/man/twm.man
> index cc8bc5f..d1dbaa0 100644
> --- a/man/twm.man
> +++ b/man/twm.man
> @@ -132,7 +132,7 @@ differing visual types.
> .B "$HOME/.twmrc"
> This is the usual name for an individual user's startup file.
> .TP 8
> -.B __projectroot__/lib/X11/twm/system.twmrc
> +.B __datadir__/X11/twm/system.twmrc
> If neither of the preceding files are found, \fItwm\fP will look in this
> file for a
> default configuration. This is often tailored by the site administrator to
More information about the xorg-devel
mailing list