[asterisk-gui] make update

Andrew Latham lathama at lathama.com
Thu May 10 06:15:28 MST 2007


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


-- 
---
Andrew Latham - AKA: LATHAMA (lay-th-ham-eh)
lathama at lathama.com - lathama at gmail.com
If any of the above are down we have bigger problems than my email!
Hind sight is most always 20/20 or better.
---


More information about the asterisk-gui mailing list