From: Corey Farrell Date: Wed, 29 Apr 2015 11:17:00 +0000 (-0400) Subject: Git Migration: Create doc/rest-api when needed. X-Git-Tag: 13.4.0-rc1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed9faab8d4c1d237a862a60a35a13a5ccb3f61f;p=thirdparty%2Fasterisk.git 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 --- diff --git a/Makefile b/Makefile index d4f9e3c9b0..fab3fd1d45 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 diff --git a/doc/.gitignore b/doc/.gitignore index 27acdb3249..e098ec027f 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1 +1,2 @@ core-en_US.xml +rest-api \ No newline at end of file