From: Michal Vaner Date: Sun, 9 Nov 2008 15:08:46 +0000 (+0100) Subject: Install the build system X-Git-Tag: holmes-import~177 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ff63510605a8dfc41efb908015364152fa676d9b;p=libucw.git Install the build system --- 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