2 include $(TOP)/mk/boilerplate.mk
4 SUBDIRS = man docbook-cheat-sheet users_guide ext-core storage-mgt
8 install-docs :: $(PAGE)
9 $(INSTALL_DIR) $(DESTDIR)$(htmldir)
10 $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGE) $(DESTDIR)$(htmldir)
12 .PHONY: binary-dist binary-dist.doc.%
14 binary-dist: $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR))
15 ifeq "$(WHERE_AM_I)" ""
16 echo "I don't know where I am" >&2
19 echo $(WHERE_AM_I)/Makefile >> $(BIN_DIST_LIST)
20 echo $(WHERE_AM_I)/$(PAGE) >> $(BIN_DIST_LIST)
22 $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR)): \
24 $(MAKE) -C $* binary-dist WHERE_AM_I=$(WHERE_AM_I)/$*
26 include $(TOP)/mk/target.mk