[asterisk-commits] Git Migration: Create doc/rest-api when needed. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 29 09:49:43 CDT 2015


Matt Jordan has submitted this change and it was merged.

Change subject: Git Migration: Create doc/rest-api when needed.
......................................................................


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
---
M Makefile
M doc/.gitignore
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Matt Jordan: Looks good to me, approved; Verified
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/Makefile b/Makefile
index 15e21b6..3252f76 100644
--- a/Makefile
+++ b/Makefile
@@ -982,6 +982,7 @@
 	@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 27acdb3..e098ec0 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -1 +1,2 @@
 core-en_US.xml
+rest-api
\ No newline at end of file

-- 
To view, visit https://gerrit.asterisk.org/283
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaccc7f0138501c23aa78feaca2f3cce9e68cbc1b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list