]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
bring back 'make sure' it will git clean and fully reset and build latest git and...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Nov 2012 16:44:27 +0000 (10:44 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Nov 2012 16:44:27 +0000 (10:44 -0600)
Makefile.am

index 6e08f68a05dca581a2661532b2b12884b6911c0a..094701142c27b7e5ec27aa62d76829ac2ad16f01 100644 (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