mirror of
https://github.com/X11Libre/xf86-input-elographics.git
synced 2026-03-24 01:34:03 +00:00
man: simplify generating manpage
No need for extra sed run, just use autoconf to do the job. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
8a615bda5d
commit
9d21fc7252
@@ -55,5 +55,5 @@ AC_SUBST(inputdir)
|
||||
|
||||
PKG_CHECK_MODULES(XORG, [xorg-server >= 25.0.0])
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile])
|
||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile man/elographics.man])
|
||||
AC_OUTPUT
|
||||
|
||||
1
man/.gitignore
vendored
1
man/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
elographics.man
|
||||
|
||||
@@ -27,16 +27,13 @@
|
||||
DRIVER_MAN_SUFFIX = 4
|
||||
|
||||
drivermandir = $(mandir)/man$(DRIVER_MAN_SUFFIX)
|
||||
|
||||
driverman_PRE = elographics.man
|
||||
|
||||
driverman_DATA = $(driverman_PRE:man=$(DRIVER_MAN_SUFFIX))
|
||||
driverman_DATA = elographics.$(DRIVER_MAN_SUFFIX)
|
||||
|
||||
EXTRA_DIST = elographics.man
|
||||
|
||||
CLEANFILES = $(driverman_DATA)
|
||||
|
||||
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
||||
# SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
||||
|
||||
.man.$(DRIVER_MAN_SUFFIX):
|
||||
$(AM_V_GEN)$(SED) -e 's|__packagestring__|$(PACKAGE_STRING)|' < $< > $@
|
||||
cp $< $@
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.\" shorthand for double quote that works everywhere.
|
||||
.ds q \N'34'
|
||||
.TH ELOGRAPHICS 4 2011-07-08 "__packagestring__" "X Version 11"
|
||||
.TH ELOGRAPHICS 4 2011-07-08 "@PACKAGE_STRING@" "X Version 11"
|
||||
.SH NAME
|
||||
elographics \- Elographics input driver for XLibre X server
|
||||
.SH SYNOPSIS
|
||||
Reference in New Issue
Block a user