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 17:15:35 -0600
commit5dde111719aeb782f0ea1c6b253d143d75cf7091 (patch)
treef1d322d4e4d91726050b1a6c99726e443dd0ad08 /Makefile
parent53570e2c6fecc4debab93b7a8e70765306154001 (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 4b1c57b8b..b1de3d244 100644
--- a/Makefile
+++ b/Makefile
@@ -1009,6 +1009,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
@@ -1030,6 +1034,7 @@ endif
.PHONY: _clean
.PHONY: ari-stubs
.PHONY: basic-pbx
+.PHONY: check-alembic
.PHONY: $(SUBDIRS_INSTALL)
.PHONY: $(SUBDIRS_DIST_CLEAN)
.PHONY: $(SUBDIRS_CLEAN)