From 2faf0fc95c466a6e0db7539ea2dcd379db30c0d8 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 22 Jan 2008 14:30:21 +0000 Subject: Add INCLUDEDIR. Use it. Signed-off-by: Bastian Blank --- tools/libfsimage/common/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/libfsimage') diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile index ddf1d6a145..641bca53b3 100644 --- a/tools/libfsimage/common/Makefile +++ b/tools/libfsimage/common/Makefile @@ -23,13 +23,13 @@ all: $(LIB) .PHONY: install install: all $(INSTALL_DIR) $(DESTDIR)$(LIBDIR) - [ -d $(DESTDIR)/usr/include ] || $(INSTALL_DIR) $(DESTDIR)/usr/include + $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR) $(INSTALL_PROG) libfsimage.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR) ln -sf libfsimage.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libfsimage.so.$(MAJOR) ln -sf libfsimage.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libfsimage.so - $(INSTALL_DATA) fsimage.h $(DESTDIR)/usr/include - $(INSTALL_DATA) fsimage_plugin.h $(DESTDIR)/usr/include - $(INSTALL_DATA) fsimage_grub.h $(DESTDIR)/usr/include + $(INSTALL_DATA) fsimage.h $(DESTDIR)$(INCLUDEDIR) + $(INSTALL_DATA) fsimage_plugin.h $(DESTDIR)$(INCLUDEDIR) + $(INSTALL_DATA) fsimage_grub.h $(DESTDIR)$(INCLUDEDIR) clean distclean: rm -f $(PIC_OBJS) $(LIB) $(DEPS) -- cgit v1.2.3