[Asterisk-code-review] Git Migration: Create doc/rest-api when needed. (asterisk[13])
Matt Jordan
asteriskteam at digium.com
Wed Apr 29 09:49:56 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 d4f9e3c..fab3fd1 100644
--- a/Makefile
+++ b/Makefile
@@ -983,6 +983,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/282
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaccc7f0138501c23aa78feaca2f3cce9e68cbc1b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
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-code-review
mailing list