1 # Makefile for Sherlock Build Tools
5 $(o)/build/genhash: $(o)/build/genhash.o
7 # This is a hack which compensates make's desires for propagating per-rule settings
8 # of variables: if some module specifies its own LIBS and it depends on genhash,
9 # genhash is sometimes built with the module's LIBS (if it isn't already built).
10 # A proper solution would be using a different rule for linking build/*, but
11 # as it currently concerns only genhash, it's easier to battle this way.
12 $(o)/build/genhash: LIBS=
14 INSTALL_TARGETS+=install-build
16 install -d -m 755 $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build
17 install -m 755 $(addprefix $(BUILDSYS)/,install-includes doc-defs doc-extract genconf mergedeps tester lib-deps lib-flags) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build
18 install -m 644 $(addprefix $(BUILDSYS)/,asciidoc.conf asciidoc-xhtml.conf Makebottom Maketop) $(DESTDIR)$(INSTALL_SHARE_DIR)/ucw/build