At least do not run MKDIRS to create the autogsdoc dir if it exists already

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11881 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-12-21 22:02:43 +00:00
parent d19efc7a42
commit 1c4888274f

View file

@ -196,12 +196,14 @@ internal-doc-all:: before-$(TARGET)-all \
generate-autogsdoc \
after-$(TARGET)-all
$(INTERNAL_doc_NAME):
$(MKDIRS) $@
# If autogsdoc is not present, the '-' at the start of the next command
# lets the makefile system simply continue without generating any
# documentation from headers etc.
generate-autogsdoc:
-$(MKDIRS) $(INTERNAL_doc_NAME); \
autogsdoc $(INTERNAL_AGSDOCFLAGS) $(AGSDOC_FILES)
generate-autogsdoc: $(INTERNAL_doc_NAME)
-autogsdoc $(INTERNAL_AGSDOCFLAGS) $(AGSDOC_FILES)
endif # AGSDOC_FILES