From 6c0e6f3b91ed669384f7fe894e4bb4891ffa6440 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Thu, 9 Oct 2008 17:18:17 +0200 Subject: [PATCH] Fix installation of autoconf.h --- free/libs/Makefile | 3 +++ ucw/Makefile | 1 + 2 files changed, 4 insertions(+) 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) -- 2.39.2