summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-01-21 17:40:47 -0500
committerCorey Farrell <git@cfware.com>2016-01-21 18:11:07 -0500
commit6ff945ab8717a784d4a54d74458733fe2bbb8f2f (patch)
tree4348ac0df9d31f6016daba710c186bbcb6f4b108 /Makefile
parentf87c3275cc4d60871167283e621565d51b35ff8d (diff)
Build System: Add support for checking alembic branches.
* Add 'check-alembic' target to root Makefile. * Create build_tools/make_check_alembic to do the actual checks. ASTERISK-25685 Change-Id: Ibb3cae7d1202ac23dc70b0f3b5801571ad46b004
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d4ae9fd61..5a729ed07 100644
--- a/Makefile
+++ b/Makefile
@@ -1010,6 +1010,10 @@ else
rest-api/resources.json .
endif
+check-alembic: makeopts
+ @find contrib/ast-db-manage/ -name '*.pyc' -delete
+ @ALEMBIC=$(ALEMBIC) build_tools/make_check_alembic config cdr voicemail >&2
+
.PHONY: menuselect
.PHONY: main
.PHONY: sounds
@@ -1031,6 +1035,7 @@ endif
.PHONY: _clean
.PHONY: ari-stubs
.PHONY: basic-pbx
+.PHONY: check-alembic
.PHONY: $(SUBDIRS_INSTALL)
.PHONY: $(SUBDIRS_DIST_CLEAN)
.PHONY: $(SUBDIRS_CLEAN)