DESTDIR fix
authorAlex Kirhenshtein <alk@netxms.org>
Fri, 25 Nov 2011 09:29:55 +0000 (09:29 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Fri, 25 Nov 2011 09:29:55 +0000 (09:29 +0000)
Makefile.am

index 1692ba0..3ad7e79 100644 (file)
@@ -14,4 +14,4 @@ SUBDIRS = m4 contrib include src doc tools
 SUBDIRS += @TOP_LEVEL_MODULES@
 
 install-exec-hook:
-       if test "x@BUILD_SERVER@" = "xyes"; then $(bindir)/nxmibc -d $(pkgdatadir)/mibs -o $(pkgdatadir)/mibs/netxms.mib; fi
+       if test "x@BUILD_SERVER@" = "xyes"; then $(DESTDIR)$(bindir)/nxmibc -d $(DESTDIR)$(pkgdatadir)/mibs -o $(DESTDIR)$(pkgdatadir)/mibs/netxms.mib; fi