aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:30:21 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:30:21 +0000
commit2faf0fc95c466a6e0db7539ea2dcd379db30c0d8 (patch)
treea5dfc476ddbb96261d9675762dc5cda369cc9c09 /tools/libxen
parentc8107e1564b783e344be4af53dd156a452c53eee (diff)
downloadxen-2faf0fc95c466a6e0db7539ea2dcd379db30c0d8.tar.gz
xen-2faf0fc95c466a6e0db7539ea2dcd379db30c0d8.tar.bz2
xen-2faf0fc95c466a6e0db7539ea2dcd379db30c0d8.zip
Add INCLUDEDIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/libxen')
-rw-r--r--tools/libxen/Makefile4
-rw-r--r--tools/libxen/Makefile.dist4
2 files changed, 4 insertions, 4 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
diff --git a/tools/libxen/Makefile.dist b/tools/libxen/Makefile.dist
index 6c76433de1..23a4b13490 100644
--- a/tools/libxen/Makefile.dist
+++ b/tools/libxen/Makefile.dist
@@ -65,14 +65,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