From c19a20101be55c89bd5ca619eaf8bb0ce87f68eb Mon Sep 17 00:00:00 2001 From: tilghman Date: Sun, 9 Sep 2007 20:18:01 +0000 Subject: Make the warning that zaptel trunk is broken a lot more obvious git-svn-id: http://svn.digium.com/svn/zaptel/trunk@3002 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9afb699..fd80d2b 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS)) all: menuselect.makeopts @$(MAKE) _all -_all: $(if $(MODULES),modules) programs $(LTZ_SO) $(LTZ_A) +_all: $(if $(MODULES),modules) programs $(LTZ_SO) $(LTZ_A) broken xpp-utils: ifeq (yes,$(BUILD_XPP)) @@ -385,7 +385,7 @@ ifeq (yes,$(BUILD_XPP)) @$(MAKE) -C xpp/utils install endif -install: all devices firmware install-libs install-include xpp-install +install: all devices firmware install-libs install-include xpp-install broken ifeq ($(HOTPLUG_FIRMWARE),yes) $(MAKE) -C firmware hotplug-install endif @@ -469,6 +469,7 @@ config: if [ -d $(INSTALL_PREFIX)/etc/sysconfig/network-scripts ]; then \ $(INSTALL) -D -m 755 ifup-hdlc $(INSTALL_PREFIX)/etc/sysconfig/network-scripts/ifup-hdlc; \ fi + @$(MAKE) broken update: @if [ -d .svn ]; then \ @@ -483,6 +484,7 @@ update: else \ echo "Not under version control"; \ fi + @$(MAKE) broken # make should *fail* and not silently succeed if a program did not build install-programs: $(BINS) install-libs install-include @@ -536,6 +538,7 @@ endif rm -rf misdn* rm -rf mISDNuser* rm -rf README.html xpp/README.html + @$(MAKE) broken distclean: dist-clean @@ -560,6 +563,7 @@ menuconfig: menuselect menuselect: menuselect/menuselect menuselect-tree -@menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!" + @$(MAKE) broken menuselect/menuselect: menuselect/menuselect.c menuselect/menuselect_curses.c menuselect/menuselect_stub.c menuselect/menuselect.h menuselect/linkedlists.h config.status @CFLAGS="" $(MAKE) -C menuselect @@ -567,3 +571,17 @@ menuselect/menuselect: menuselect/menuselect.c menuselect/menuselect_curses.c me menuselect-tree: zaptel.xml firmware/firmware.xml @echo "Generating input for menuselect ..." @build_tools/make_tree > $@ + +broken: + @echo + @echo "=== WARNING === WARNING === WARNING ===" + @echo + @echo "Zaptel trunk is currently not the development tree and may be seriously BROKEN." + @echo "We encourage you to use Zaptel 1.4. Please do not report any bugs or issues in" + @echo "Zaptel trunk, as they will be ignored and immediately closed. You have been" + @echo "warned. We will post a note to the asterisk-dev list when Zaptel trunk is once" + @echo "again safe to use, but for the time being, stay away." + @echo + @echo "=== WARNING === WARNING === WARNING ===" + @echo + -- cgit v1.2.3