mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 18:40:46 +00:00
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
This commit is contained in:
1
Makefile
1
Makefile
@@ -983,6 +983,7 @@ ifeq ($(PYTHON),:)
|
|||||||
@echo "--------------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------------"
|
||||||
@false
|
@false
|
||||||
else
|
else
|
||||||
|
@$(INSTALL) -d doc/rest-api
|
||||||
$(PYTHON) rest-api-templates/make_ari_stubs.py \
|
$(PYTHON) rest-api-templates/make_ari_stubs.py \
|
||||||
rest-api/resources.json .
|
rest-api/resources.json .
|
||||||
endif
|
endif
|
||||||
|
1
doc/.gitignore
vendored
1
doc/.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
core-en_US.xml
|
core-en_US.xml
|
||||||
|
rest-api
|
Reference in New Issue
Block a user