summaryrefslogtreecommitdiff
path: root/Makefile
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 07:22:35 -0400
commitfed9faab8d4c1d237a862a60a35a13a5ccb3f61f (patch)
treed6a48a0378ecf4ff7ad9e43f8f8e5b006fccb017 /Makefile
parentdf23c8a86bf8b24d4a9d9c5d02665a1fd391c90f (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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d4f9e3c9b..fab3fd1d4 100644
--- a/Makefile
+++ b/Makefile
@@ -983,6 +983,7 @@ ifeq ($(PYTHON),:)
@echo "--------------------------------------------------------------------------"
@false
else
+ @$(INSTALL) -d doc/rest-api
$(PYTHON) rest-api-templates/make_ari_stubs.py \
rest-api/resources.json .
endif