summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-04-29 07:17:00 -0400
committerCorey Farrell <git@cfware.com>2015-04-29 06:24:51 -0500
commitc232ff3af0a380efcfd6b0b6ffb60ea1d16a9f0a (patch)
tree6bee5c55db2a0f9fab435c6a1b5749f9b9547fda
parent78ff328b0bfbfa64399d9bbb0d75aaa2a71a195c (diff)
Git Migration: Create doc/rest-api when needed.
Create the directory './doc/rest-api' at the start of 'make ari-stubs' to prevent an error when documentation is generated. The directory is also added to git ignores. ASTERISK-25027 Reported by: Corey Farrell Change-Id: Iaccc7f0138501c23aa78feaca2f3cce9e68cbc1b
-rw-r--r--Makefile1
-rw-r--r--doc/.gitignore1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 15e21b6b8..3252f7682 100644
--- a/Makefile
+++ b/Makefile
@@ -982,6 +982,7 @@ ifeq ($(PYTHON),:)
@echo "--------------------------------------------------------------------------"
@false
else
+ @$(INSTALL) -d doc/rest-api
$(PYTHON) rest-api-templates/make_ari_stubs.py \
rest-api/resources.json .
endif
diff --git a/doc/.gitignore b/doc/.gitignore
index 27acdb324..e098ec027 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -1 +1,2 @@
core-en_US.xml
+rest-api \ No newline at end of file