From: Michal Vaner Date: Thu, 9 Oct 2008 15:18:17 +0000 (+0200) Subject: Fix installation of autoconf.h X-Git-Tag: holmes-import~227^2~5^2~25 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6c0e6f3b91ed669384f7fe894e4bb4891ffa6440;p=libucw.git Fix installation of autoconf.h --- diff --git a/free/libs/Makefile b/free/libs/Makefile index 7f91ca02..12163bd5 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -56,6 +56,9 @@ include $(s)/build/Makebottom ifndef CONFIG_LOCAL install: $(INSTALL_TARGETS) + install -d -m 755 $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw + install -m 644 obj/autoconf.h $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw + else install: @echo "Nothing to install, this is a local build." && false diff --git a/ucw/Makefile b/ucw/Makefile index 6a150ac6..8d762e7e 100644 --- a/ucw/Makefile +++ b/ucw/Makefile @@ -154,6 +154,7 @@ INSTALL_TARGETS+=install-libucw install-libucw: install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/ $(DESTDIR)$(INSTALL_PKGCONFIG_DIR) install -m 644 $(addprefix run/include/ucw/,$(LIBUCW_LOCAL_INCLUDES)) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/ + sed -e 's/^#include .autoconf\.h./#include /' $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/config.h install -m 644 run/lib/pkgconfig/libucw.pc $(DESTDIR)$(INSTALL_PKGCONFIG_DIR) install -m 644 run/lib/$(LIBUCW_NAME) $(DESTDIR)$(INSTALL_LIB_DIR)