bring back 'make sure' it will git clean and fully reset and build latest git and wipe out any uncomitted changes, you can pass CONFIGURE_ARGS=--foo from the make command line to pass the flags to the reconfigure

This commit is contained in:
Anthony Minessale 2012-11-29 10:44:27 -06:00
parent 435443c9f6
commit 03531329d3
1 changed files with 12 additions and 7 deletions

View File

@ -606,6 +606,10 @@ version:
reinstall: modwipe uninstall install
pristine:
git clean -fdx
git reset --hard
update-clean: clean libs/openzap/Makefile python-reconf
cd libs/sofia-sip && $(MAKE) clean
cd libs/openzap && $(MAKE) clean
@ -618,13 +622,6 @@ swigall:
@echo reswigging all
sh $(switch_srcdir)/build/swigall.sh
sure: current
speedy-sure: update-clean
$(MAKE) -j core
cd libs/sofia-sip && $(MAKE) -j
$(MAKE) -j modules
speex-reconf:
cd libs/speex && autoreconf
cd libs/speex && ./config.status --recheck
@ -680,6 +677,14 @@ cluecon:
@echo
@echo http://www.cluecon.com
@sleep 5
sure: is-scm pristine update
git pull
sh bootstrap.sh
sh configure $(CONFIGURE_ARGS)
make $(MAKE_ARGS)
make reinstall
current: cluecon update-clean is-scm
$(MAKE) update
$(MAKE) all