Update to avoid recursion in documentation build.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19325 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-05-14 16:12:28 +00:00
parent 2e1e3e8c08
commit 3db6853315
2 changed files with 9 additions and 10 deletions

View file

@ -1,3 +1,10 @@
2004-05-17 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/Documentation/autogsdoc.make: Simplify rules. Avoid
dependency on existence of documentation subdirectory by relying on
new autogsdoc feature (it now creates the subdirectory if necessary).
This prevents possible recursion in make process.
2004-05-07 Richard Frith-Macdonald <rfm@gnu.org>
* Master/rules.make: Pass 'operation' to instances in

View file

@ -33,7 +33,7 @@ INTERNAL_AGSDOCFLAGS = -Project $(GNUSTEP_INSTANCE)
INTERNAL_AGSDOCFLAGS += -DocumentationDirectory $(GNUSTEP_INSTANCE)
INTERNAL_AGSDOCFLAGS += $(AGSDOC_FLAGS)
internal-doc-all_:: $(GNUSTEP_INSTANCE)/stamp
internal-doc-all_:: $(GNUSTEP_INSTANCE)/dependencies
# Only include (and implicitly automatically rebuild if needed) the
# dependencies file when we are compiling. Ignore it when cleaning or
@ -42,16 +42,8 @@ ifeq ($(GNUSTEP_OPERATION), all)
-include $(GNUSTEP_INSTANCE)/dependencies
endif
$(GNUSTEP_INSTANCE):
$(ECHO_CREATING)$(MKDIRS) $@$(END_ECHO)
$(GNUSTEP_INSTANCE)/dependencies: $(GNUSTEP_INSTANCE)
$(GNUSTEP_INSTANCE)/dependencies:
$(ECHO_AUTOGSDOC)$(AUTOGSDOC) $(INTERNAL_AGSDOCFLAGS) -MakeDependencies $(GNUSTEP_INSTANCE)/dependencies $(AGSDOC_FILES)$(END_ECHO)
touch $(GNUSTEP_INSTANCE)/stamp
$(GNUSTEP_INSTANCE)/stamp: $(GNUSTEP_INSTANCE)
$(ECHO_AUTOGSDOC)$(AUTOGSDOC) $(INTERNAL_AGSDOCFLAGS) -MakeDependencies $(GNUSTEP_INSTANCE)/dependencies $(AGSDOC_FILES)$(END_ECHO)
touch $(GNUSTEP_INSTANCE)/stamp
internal-doc-install_::
$(ECHO_INSTALLING)rm -rf $(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR)/$(GNUSTEP_INSTANCE); \