- $(MV) $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/configure-bin.ac $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/configure.ac
- ( cd $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME); autoconf )
- if test -x $(BIN_DIST_MAIN_DIR)/mk/post-install-script ; then \
- cp $(BIN_DIST_MAIN_DIR)/mk/post-install-script \
- $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) ; \
- fi
- if test -x $(BIN_DIST_MAIN_DIR)/mk/post-inplace-script ; then \
- cp $(BIN_DIST_MAIN_DIR)/mk/post-inplace-script \
- $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) ; \
- fi
-#
-# binary dist'ing the documentation.
-# Which documentation to build/install is hardcoded below.
-#
-
-BINDIST_DOC_WAYS = html ps
-# BINDIST_DOC_WAYS =
-
-binary-dist ::
- @for i in $(BIN_DIST_DIRS); do \
- if test -d "$$i"; then \
- $(MAKE) -C $$i $(MFLAGS) $(BINDIST_DOC_WAYS); \
- echo $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" \
- prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
- exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
- bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \
- libdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
- libexecdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
- datadir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/share; \
- $(MAKE) -C $$i $(MFLAGS) install-docs SGMLDocWays="$(BINDIST_DOC_WAYS)" \
- prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
- exec_prefix=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) \
- bindir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/bin/$(TARGETPLATFORM) \
- libdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
- libexecdir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/lib/$(TARGETPLATFORM) \
- datadir=$(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/share; \
- fi \
- done