aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxen/Makefile')
-rw-r--r--tools/libxen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
index 8480e3a917..0d1ec7727b 100644
--- a/tools/libxen/Makefile
+++ b/tools/libxen/Makefile
@@ -55,14 +55,14 @@ $(TEST_PROGRAMS): test/%: test/%.o libxenapi.so
.PHONY: install
install: all
- $(INSTALL_DIR) $(DESTDIR)/usr/include/xen/api
+ $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/api
$(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; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEDIR)/xen/api; \
done