Skip to content

Commit

Permalink
Another missed patch
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39758 72102866-910b-0410-8b05-ffd578937521
  • Loading branch information
rfm committed May 13, 2016
1 parent 75f1c3a commit d6911e7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Instance/framework.make:
Forgotten patch to allow multiple versions of a framework to be
installed.
* Documentation/GNUmakefile:
* Instance/Documentation/texi.make:
Forgotten patch to update for newere makeinfo which produces html.

2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>

Expand Down
2 changes: 0 additions & 2 deletions Documentation/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ include $(GNUSTEP_MAKEFILES)/documentation.make

include ../Version

GNUSTEP_TEXI2HTML_FLAGS += -init_file gnustep.init

# Typing 'make regenerate' should build all, then install the files
# top-level. This is mostly for making gnustep-make releases.
regenerate: all
Expand Down
21 changes: 11 additions & 10 deletions Instance/Documentation/texi.make
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ ifeq ($(GNUSTEP_TEXI2PDF_FLAGS),)
endif

ifeq ($(GNUSTEP_TEXI2HTML),)
GNUSTEP_TEXI2HTML = texi2html
GNUSTEP_TEXI2HTML = makeinfo --html
endif
ifeq ($(GNUSTEP_TEXI2HTML_FLAGS),)
GNUSTEP_TEXI2HTML_FLAGS = -split_chapter -expandinfo
GNUSTEP_TEXI2HTML_FLAGS =
endif

internal-doc-all_:: $(GNUSTEP_INSTANCE).info \
$(GNUSTEP_INSTANCE).pdf \
$(GNUSTEP_INSTANCE).html
$(GNUSTEP_INSTANCE)/index.html

internal-textdoc-all_:: $(GNUSTEP_INSTANCE)

Expand Down Expand Up @@ -91,7 +91,7 @@ $(GNUSTEP_INSTANCE).pdf: $(TEXI_FILES)
# Some versions of texi2html placed the html files in a subdirectory,
# so after running it we try to move any from the subdirectory to
# where they are expected.
$(GNUSTEP_INSTANCE).html: $(TEXI_FILES)
$(GNUSTEP_INSTANCE)/index.html: $(TEXI_FILES)
-$(GNUSTEP_TEXI2HTML) \
$(GNUSTEP_TEXI2HTML_FLAGS) $(ADDITIONAL_TEXI2HTML_FLAGS) \
$(GNUSTEP_INSTANCE).texi; \
Expand Down Expand Up @@ -145,13 +145,12 @@ internal-doc-install_:: $(GNUSTEP_DOC_INFO)
fi
if [ -f i$(GNUSTEP_INSTANCE)_toc.html ]; then \
$(INSTALL_DATA) $(GNUSTEP_INSTANCE)_*.html \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR); \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR) || true ; \
fi
if [ -f $(GNUSTEP_INSTANCE).html ]; then \
$(INSTALL_DATA) $(GNUSTEP_INSTANCE).html \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR); \
$(INSTALL_DATA) $(GNUSTEP_INSTANCE)_*.html \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR); \
if [ -f $(GNUSTEP_INSTANCE)/index.html ]; then \
$(MKINSTALLDIRS) $(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE); \
$(INSTALL_DATA) $(GNUSTEP_INSTANCE)/*.html \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE); \
fi

$(GNUSTEP_DOC_INFO):
Expand All @@ -166,6 +165,8 @@ internal-doc-uninstall_::
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE)_*.html
rm -f \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE).html
rm -f \
$(GNUSTEP_DOC)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE)/*.html

#
# textdoc targets - these should be merged with the doc targets
Expand Down

0 comments on commit d6911e7

Please sign in to comment.