aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/Makefile.dist
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxen/Makefile.dist')
-rw-r--r--tools/libxen/Makefile.dist10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/libxen/Makefile.dist b/tools/libxen/Makefile.dist
index 0f4a8dbd75..6c76433de1 100644
--- a/tools/libxen/Makefile.dist
+++ b/tools/libxen/Makefile.dist
@@ -66,11 +66,11 @@ $(TEST_PROGRAMS): test/%: test/%.o libxenapi.so
.PHONY: install
install: all
$(INSTALL_DIR) $(DESTDIR)/usr/include/xen/api
- $(INSTALL_DIR) $(DESTDIR)/usr/$(LIBDIR)
- $(INSTALL_PROG) libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)
- ln -sf libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)/libxenapi.so.$(MAJOR)
- ln -sf libxenapi.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenapi.so
- $(INSTALL_DATA) libxenapi.a $(DESTDIR)/usr/$(LIBDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_PROG) libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
+ ln -sf libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libxenapi.so.$(MAJOR)
+ ln -sf libxenapi.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libxenapi.so
+ $(INSTALL_DATA) libxenapi.a $(DESTDIR)$(LIBDIR)
set -e; for i in $(LIBXENAPI_HDRS); do \
$(INSTALL_DATA) $$i $(DESTDIR)/usr/include/xen/api; \
done