[ofa-general] [PATCH] infiniband-diags/Makefile.am: fix 'make install'

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Thu Mar 20 02:50:36 PDT 2008


When the code compiled not from the source dir itself, 'make install'
fails. Fixing the wrong file location.

I'd like to see this fix in ofed_1_3 as well, but it's your call.

Signed-off-by:  Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>

---
 infiniband-diags/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/infiniband-diags/Makefile.am b/infiniband-diags/Makefile.am
index ca66e2d..26306f9 100644
--- a/infiniband-diags/Makefile.am
+++ b/infiniband-diags/Makefile.am
@@ -117,4 +117,4 @@ dist-hook:

 # install this to a default location.
 install-data-hook:
-	$(top_srcdir)/config/install-sh -m 444 scripts/IBswcountlimits.pm $(DESTDIR)/$(PERL_INSTALLDIR)/IBswcountlimits.pm
+	$(top_srcdir)/config/install-sh -m 444 $(top_srcdir)/scripts/IBswcountlimits.pm $(DESTDIR)/$(PERL_INSTALLDIR)/IBswcountlimits.pm
-- 
1.5.1.4




More information about the general mailing list