15c3974226
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS. It sets the SED env variable with an appropriate sed program path. Use Automake $() for variables in Makefile.am ok matthieu@
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
#
|
|
# Copyright (c) 2006 Matthieu Herrb
|
|
#
|
|
# Permission to use, copy, modify, and distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
#
|
|
drivermandir= $(DRIVER_MAN_DIR)
|
|
driverman_PRE= $(DRIVER_NAME).man
|
|
driverman_DATA= $(driverman_PRE:man=$(DRIVER_MAN_SUFFIX))
|
|
|
|
EXTRA_DIST= $(DRIVER_NAME).man
|
|
|
|
CLEANFILES= $(driverman_DATA)
|
|
|
|
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
|
|
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
|
.man.$(DRIVER_MAN_SUFFIX):
|
|
$(SED) $(MAN_SUBSTS) < $< > $@
|