]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Git Migration: Create doc/rest-api when needed. 82/282/1
authorCorey Farrell <git@cfware.com>
Wed, 29 Apr 2015 11:17:00 +0000 (07:17 -0400)
committerCorey Farrell <git@cfware.com>
Wed, 29 Apr 2015 11:22:35 +0000 (07:22 -0400)
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

Makefile
doc/.gitignore

index d4f9e3c9b036082f10713b7ee600bd734c27ce17..fab3fd1d4508119a3dcaff34381fc5994d0536cb 100644 (file)
--- 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
index 27acdb3249f7ba9b8a95bfd65ddd5eafec1b679f..e098ec027f2dcc7c6c46b2d56a1137d8aeee1cd3 100644 (file)
@@ -1 +1,2 @@
 core-en_US.xml
+rest-api
\ No newline at end of file