summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-04-10 11:26:46 -0700
committerEric Anholt <eric@anholt.net>2007-04-10 11:26:46 -0700
commit08cd5f9b0f086e51112008d50de48556372899f9 (patch)
treeeb7a32cc1a1a5ebb917f22dec0d98334553e9b00
parentbf9771e9711361632afe3abeeedca7ce03497005 (diff)
Bug #10520: i810 manpage not installed despite users expecting it to be there.
Install it as an alias to intel.4x, since we're letting people load the driver as "i810" still.
-rw-r--r--man/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index bf7ec17a..b5510e8d 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -27,9 +27,13 @@
drivermandir = $(DRIVER_MAN_DIR)
+DRIVER_MAN_DIR_SUFFIX = $(DRIVER_MAN_DIR:@mandir@/man%=%)
+
driverman_PRE = @DRIVER_NAME@.man
-driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
+driverman_DATA = \
+ $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) \
+ i810.@DRIVER_MAN_SUFFIX@
EXTRA_DIST = @DRIVER_NAME@.man
@@ -57,3 +61,10 @@ SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
.man.$(DRIVER_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+BUILT_SOURCES = shadows.DONE
+
+shadows.DONE:
+ -rm -f i810.@DRIVER_MAN_SUFFIX@
+ echo .so man$(DRIVER_MAN_DIR_SUFFIX)/intel.$(DRIVER_MAN_SUFFIX) > \
+ i810.@DRIVER_MAN_SUFFIX@