2009-11-22 12:12:44 -07:00
|
|
|
#
|
|
|
|
# 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)
|
2011-11-19 05:42:57 -07:00
|
|
|
driverman_PRE= $(DRIVER_NAME).man
|
|
|
|
driverman_DATA= $(driverman_PRE:man=$(DRIVER_MAN_SUFFIX))
|
2009-11-22 12:12:44 -07:00
|
|
|
|
2011-11-19 05:42:57 -07:00
|
|
|
EXTRA_DIST= $(DRIVER_NAME).man
|
2009-11-22 12:12:44 -07:00
|
|
|
|
|
|
|
CLEANFILES= $(driverman_DATA)
|
|
|
|
|
|
|
|
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
|
|
|
|
2011-11-19 05:42:57 -07:00
|
|
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
2009-11-22 12:12:44 -07:00
|
|
|
.man.$(DRIVER_MAN_SUFFIX):
|
2011-11-19 05:42:57 -07:00
|
|
|
$(SED) $(MAN_SUBSTS) < $< > $@
|