summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.am')
-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@