2 include $(TOP)/mk/boilerplate.mk
4 SUBDIRS = man docbook-cheat-sheet users_guide
5 ifneq "$(DOING_BIN_DIST)" "YES"
6 SUBDIRS += ext-core storage-mgt
11 install-docs :: $(PAGES)
12 $(INSTALL_DIR) $(DESTDIR)$(htmldir)
13 $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(DESTDIR)$(htmldir)
15 .PHONY: binary-dist binary-dist.doc.%
17 binary-dist: $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR))
18 $(MKDIRHIER) $(BIN_DIST_DIR)/docs
19 cp Makefile $(BIN_DIST_DIR)/docs/
20 cp $(PAGES) $(BIN_DIST_DIR)/docs/
22 $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR)): \
24 $(MAKE) -C $* binary-dist
26 include $(TOP)/mk/target.mk