From ff63510605a8dfc41efb908015364152fa676d9b Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 9 Nov 2008 16:08:46 +0100 Subject: [PATCH] Install the build system --- build/Makefile | 7 +++++++ free/libs/Makefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/build/Makefile b/build/Makefile index 15bafe72..a5ac83a0 100644 --- a/build/Makefile +++ b/build/Makefile @@ -10,3 +10,10 @@ $(o)/build/genhash: $(o)/build/genhash.o # A proper solution would be using a different rule for linking build/*, but # as it currently concerns only genhash, it's easier to battle this way. $(o)/build/genhash: LIBS= + +INSTALL_TARGETS+=install-build +install-build: + install -d -m 755 $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build + install -m 755 $(addprefix $(s)/build/,install-includes doc-defs doc-extract genconf mergedeps tester lib-deps lib-flags) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build + install -m 644 $(addprefix $(s)/build/,asciidoc.conf asciidoc-xhtml.conf Makebottom Maketop) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build +.PHONY: install-build diff --git a/free/libs/Makefile b/free/libs/Makefile index 8c5494b3..58544565 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -13,6 +13,9 @@ obj/config.mk: # We will use the libucw build system include $(s)/build/Maketop +# Install the build system +include $(s)/build/Makefile + # The UCW library include $(s)/ucw/Makefile -- 2.39.2