X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build%2FMakefile;h=54698d2f09ea0fa6ac742a800b22a79683af194f;hb=c18ab57cb2da67f47b74a00cdc3bff6c80c803cb;hp=15bafe723ae0f65f66c1e4c46051f5d3f4cc14be;hpb=47a0795e8a28e8ad6ff55cda89e300267d9e590c;p=libucw.git diff --git a/build/Makefile b/build/Makefile index 15bafe72..54698d2f 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 $(BUILDSYS)/,install-includes doc-defs doc-extract genconf mergedeps tester lib-deps lib-flags) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build + install -m 644 $(addprefix $(BUILDSYS)/,asciidoc.conf asciidoc-xhtml.conf Makebottom Maketop) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build +.PHONY: install-build