Try to get autogsdoc stuff back into a fully working state for new release.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-04 21:12:51 +00:00
parent af6328198d
commit 5a8c4b6bd4
2 changed files with 38 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* documentation.make: revert to old autogsdoc rules as standard,
keeping new ruleset as 'experimental' ... should allow people to
use autogsdoc stuff reliably using the release Adam is planning
to do real soon and pending us getting the new rules working
properly.
Fri Jan 4 15:37:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* documentation.make: autogsdoc rules - rewritten.

View file

@ -188,6 +188,8 @@ ifneq ($(AGSDOC_FILES),)
ifeq ($(GNUSTEP_BASE_HAVE_LIBXML), 1)
ifeq ($(AGSDOC_EXPERIMENTAL), 1)
INTERNAL_AGSDOCFLAGS = $(AGSDOC_FLAGS)
INTERNAL_AGSDOCFLAGS += -IgnoreDependencies YES
INTERNAL_AGSDOCFLAGS += -Project $(INTERNAL_doc_NAME)
@ -220,9 +222,12 @@ $(INTERNAL_doc_NAME)/%.gsdoc: $($(INTERNAL_doc_NAME)_HEADER_FILES_DIR)/%.h
$(INTERNAL_doc_NAME)/%.gsdoc: %.m
autogsdoc $(INTERNAL_AGSDOCFLAGS) -GenerateHtml NO $<
$(INTERNAL_doc_NAME)/%.html: $(INTERNAL_doc_NAME)/%.gsdoc
$(INTERNAL_doc_NAME)/%.html: $(INTERNAL_doc_NAME)/%.gsdoc $(INTERNAL_doc_NAME)/$(INTERNAL_doc_NAME).igsdoc
autogsdoc $(INTERNAL_AGSDOCFLAGS) -GenerateHtml YES $<
$(INTERNAL_doc_NAME)/$(INTERNAL_doc_NAME).igsdoc: $(AGSDOC_GSDOC_FILES)
autogsdoc $(INTERNAL_AGSDOCFLAGS) -GenerateHtml NO $(AGSDOC_GSDOC_FILES)
internal-doc-all:: before-$(TARGET)-all \
$(AGSDOC_HTML_FILES) \
after-$(TARGET)-all
@ -231,6 +236,30 @@ before-$(TARGET)-all:: $(INTERNAL_doc_NAME)
else
#
# Stable/working rules
#
INTERNAL_AGSDOCFLAGS = $(AGSDOC_FLAGS)
INTERNAL_AGSDOCFLAGS += -Project $(INTERNAL_doc_NAME)
INTERNAL_AGSDOCFLAGS += -DocumentationDirectory $(INTERNAL_doc_NAME)
# The autogsdoc program has built-in dependency handling, so we can
# simply run it and it will work out what needs to be rebuilt.
internal-doc-all:: before-$(TARGET)-all \
generate-autogsdoc \
after-$(TARGET)-all
$(INTERNAL_doc_NAME):
$(MKDIRS) $@
generate-autogsdoc: $(INTERNAL_doc_NAME)
autogsdoc $(INTERNAL_AGSDOCFLAGS) $(AGSDOC_FILES)
endif # AGSDOC_EXPERIMENTAL
else
internal-doc-all::
@echo "No libxml - processing of autogsdoc files skipped"