Have "make install" respect configure prefix.
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Aug 2007 17:19:51 +0000 (17:19 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Aug 2007 17:19:51 +0000 (17:19 +0000)
comedi/Makefile.am

index 802ae755249d595d0ee4cbaa3999c39d996a5105..f7f794196285ce6afc4568f82f932ca80aff5216 100644 (file)
@@ -25,7 +25,7 @@ all-local:
 install-data-local:
        $(MAKE) -I@abs_builddir@ -C $(LINUX_DIR) M=@abs_builddir@ CC="$(LINUX_CC) -I@abs_top_builddir@/ \
                -I@abs_top_srcdir@/include $(RTAI_CFLAGS) $(RTLINUX_CFLAGS)" INSTALL_MOD_DIR="comedi" \
-               modules_install
+               INSTALL_MOD_PATH="$(prefix)" modules_install
 clean-local:
        $(MAKE) -I@abs_builddir@ -C $(LINUX_DIR) M=@abs_builddir@ CC="$(LINUX_CC) -I@abs_top_builddir@/ \
                -I@abs_top_srcdir@/include $(RTAI_CFLAGS) $(RTLINUX_CFLAGS)" clean