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

Corey Farrell asteriskteam at digium.com
Wed Apr 29 06:24:51 CDT 2015


Corey Farrell has uploaded a new change for review.

  https://gerrit.asterisk.org/283

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/83/283/1

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: newchange
Gerrit-Change-Id: Iaccc7f0138501c23aa78feaca2f3cce9e68cbc1b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list