[asterisk-gui] make update

bkruse bkruse at digium.com
Thu May 10 11:55:24 MST 2007


I like this Idea Andrew,

I am going to run it buy russell (who did the original Makefile
for the asterisk gui install I believe.)

And Pari also, great idea though, thanks for contributing.

I think we might need a disclaimer. You can post this on the bug
tracker if you want, throw down a disclaimer, and you can get awesome
karma points if someone is feeling nice.

:D

Thanks for everything thus far, however.

-bkruse

Andrew Latham wrote:
> I added the following from the Asterisk Makefile to my Asterisk GUI
> Makefile for updates
>
> Could some one commit this, it is from the other project Makefiles so
> it should not need disclaimed again.  I added it above the install
> target but any could do.
>
> update:
>        @if [ -d .svn ]; then \
>                echo "Updating from Subversion..." ; \
>                svn update | tee update.out; \
>                rm -f .version; \
>                if [ `grep -c ^C update.out` -gt 0 ]; then \
>                        echo ; echo "The following files have 
> conflicts:" ; \
>                        grep ^C update.out | cut -b4- ; \
>                fi ; \
>                rm -f update.out; \
>        else \
>                echo "Not under version control";  \
>        fi
>
>



More information about the asterisk-gui mailing list