aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:29:11 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:29:11 +0000
commitc8107e1564b783e344be4af53dd156a452c53eee (patch)
treeb24eb9f8614374b5b166233fc89dbd1307d70bde /tools/libxen
parent590e56fc113b8cbe3d4f0efe23b0690be1cb7bf1 (diff)
downloadxen-c8107e1564b783e344be4af53dd156a452c53eee.tar.gz
xen-c8107e1564b783e344be4af53dd156a452c53eee.tar.bz2
xen-c8107e1564b783e344be4af53dd156a452c53eee.zip
Apply PREFIX directly to LIBDIR.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/libxen')
-rw-r--r--tools/libxen/Makefile10
-rw-r--r--tools/libxen/Makefile.dist10
2 files changed, 10 insertions, 10 deletions
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
index 63ba11263d..8480e3a917 100644
--- a/tools/libxen/Makefile
+++ b/tools/libxen/Makefile
@@ -56,11 +56,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
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