diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile | 15 | ||||
-rw-r--r-- | docs/docbook-cheat-sheet/Makefile | 3 | ||||
-rw-r--r-- | docs/ext-core/Makefile | 3 | ||||
-rw-r--r-- | docs/man/Makefile | 8 | ||||
-rw-r--r-- | docs/storage-mgt/Makefile | 3 | ||||
-rw-r--r-- | docs/users_guide/Makefile | 3 |
6 files changed, 21 insertions, 14 deletions
diff --git a/docs/Makefile b/docs/Makefile index fc6017381c..9b51adb20d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,21 +6,20 @@ ifneq "$(DOING_BIN_DIST)" "YES" SUBDIRS += ext-core storage-mgt endif -PAGES = index.html +PAGE = index.html -install-docs :: $(PAGES) - $(INSTALL_DIR) $(DESTDIR)$(htmldir) - $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(DESTDIR)$(htmldir) +install-docs :: $(PAGE) + $(INSTALL_DIR) $(DESTDIR)$(htmldir) + $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGE) $(DESTDIR)$(htmldir) .PHONY: binary-dist binary-dist.doc.% binary-dist: $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR)) - $(MKDIRHIER) $(BIN_DIST_DIR)/docs - cp Makefile $(BIN_DIST_DIR)/docs/ - cp $(PAGES) $(BIN_DIST_DIR)/docs/ + echo $(WHERE_AM_I)/Makefile >> $(BIN_DIST_LIST) + echo $(WHERE_AM_I)/$(PAGE) >> $(BIN_DIST_LIST) $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR)): \ binary-dist.doc.%: - $(MAKE) -C $* binary-dist + $(MAKE) -C $* binary-dist WHERE_AM_I=$(WHERE_AM_I)/$* include $(TOP)/mk/target.mk diff --git a/docs/docbook-cheat-sheet/Makefile b/docs/docbook-cheat-sheet/Makefile index 95896d1f0c..14e0c3c2d2 100644 --- a/docs/docbook-cheat-sheet/Makefile +++ b/docs/docbook-cheat-sheet/Makefile @@ -4,4 +4,7 @@ include $(TOP)/mk/boilerplate.mk XML_DOC = docbook-cheat-sheet INSTALL_XML_DOC = docbook-cheat-sheet +binary-dist: + @: + include $(TOP)/mk/target.mk diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index 561b71bd04..10f3183731 100644 --- a/docs/ext-core/Makefile +++ b/docs/ext-core/Makefile @@ -28,6 +28,9 @@ distclean: clean maintainer-clean: distclean +binary-dist: + @: + # dummy targets all: boot: diff --git a/docs/man/Makefile b/docs/man/Makefile index 7fa112d82c..71644ca28c 100644 --- a/docs/man/Makefile +++ b/docs/man/Makefile @@ -45,11 +45,7 @@ install-docs:: $(MAN_PAGE).$(MAN_SECTION) endif -binary-dist:: $(MAN_PAGE).$(MAN_SECTION) - $(MKDIRHIER) $(BIN_DIST_DIR)/docs/man - cp Makefile $(BIN_DIST_DIR)/docs/man/ -ifneq "$(strip $(XSLTPROC))" "" - cp $(MAN_PAGE).$(MAN_SECTION) $(BIN_DIST_DIR)/docs/man/ -endif +BINDIST_EXTRAS += $(MAN_PAGE).$(MAN_SECTION) +include $(TOP)/mk/bindist.mk include $(TOP)/mk/target.mk diff --git a/docs/storage-mgt/Makefile b/docs/storage-mgt/Makefile index 871766d4fc..9ef54adced 100644 --- a/docs/storage-mgt/Makefile +++ b/docs/storage-mgt/Makefile @@ -25,6 +25,9 @@ distclean: clean maintainer-clean: distclean +binary-dist: + @: + # dummy targets all: boot: diff --git a/docs/users_guide/Makefile b/docs/users_guide/Makefile index f0a31fb705..1a370d5331 100644 --- a/docs/users_guide/Makefile +++ b/docs/users_guide/Makefile @@ -4,4 +4,7 @@ include $(TOP)/mk/boilerplate.mk XML_DOC = users_guide INSTALL_XML_DOC = users_guide +binary-dist: + @: + include $(TOP)/mk/target.mk |