drop legacy Subversion build support
Nothing here would work as we no longer have a live subversion repository.
This commit is contained in:
parent
491dd06518
commit
0da2a5f448
25
Makefile.am
25
Makefile.am
|
@ -415,13 +415,6 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
|
||||||
else \
|
else \
|
||||||
version="git-$$version" ; \
|
version="git-$$version" ; \
|
||||||
fi ;\
|
fi ;\
|
||||||
else \
|
|
||||||
version=`svnversion . -n || echo hacked` ; \
|
|
||||||
if [ "x$$version" = "xhacked" ] ; then \
|
|
||||||
version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
|
|
||||||
else \
|
|
||||||
version="svn-$$version" ; \
|
|
||||||
fi ;\
|
|
||||||
fi ; \
|
fi ; \
|
||||||
oldversion=`cat .version 2>/dev/null || echo "0"` ; \
|
oldversion=`cat .version 2>/dev/null || echo "0"` ; \
|
||||||
if test "$$oldversion" != "$$version" || test $$force = 1 ; then \
|
if test "$$oldversion" != "$$version" || test $$force = 1 ; then \
|
||||||
|
@ -497,7 +490,7 @@ samples-conf:
|
||||||
|
|
||||||
samples-htdocs:
|
samples-htdocs:
|
||||||
test -d $(DESTDIR)$(htdocsdir) || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)
|
test -d $(DESTDIR)$(htdocsdir) || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)
|
||||||
for htdocsfile in `cd $(switch_srcdir)/htdocs && find . -type f -name \* | grep -v .svn | sed -e 's|^\.||' ` ; do \
|
for htdocsfile in `cd $(switch_srcdir)/htdocs && find . -type f -name \* | sed -e 's|^\.||` ; do \
|
||||||
dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||'`; \
|
dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||'`; \
|
||||||
filename=`echo $$htdocsfile | sed -e 's|^.*/||'`; \
|
filename=`echo $$htdocsfile | sed -e 's|^.*/||'`; \
|
||||||
test -d $(DESTDIR)$(htdocsdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)$$dir ; \
|
test -d $(DESTDIR)$(htdocsdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)$$dir ; \
|
||||||
|
@ -518,29 +511,23 @@ install-data-local:
|
||||||
test -d $(DESTDIR)$(htdocsdir) || $(MAKE) samples-htdocs
|
test -d $(DESTDIR)$(htdocsdir) || $(MAKE) samples-htdocs
|
||||||
|
|
||||||
is-scm:
|
is-scm:
|
||||||
@if [ ! -d .svn -a ! -d .git ] ; then \
|
@if [ ! -d .git ] ; then \
|
||||||
echo ; echo ; \
|
echo ; echo ; \
|
||||||
echo "*****************************************************************************************************" ; \
|
echo "*****************************************************************************************************" ; \
|
||||||
echo "You can not update a release tarball or without a git or svn working copy please clone our git tree: " ; \
|
echo "You cannot update a release tarball without a git tree. Please clone FreeSWITCH as so: " ; \
|
||||||
echo "git clone git://git.freeswitch.org/freeswitch.git " ; \
|
echo " git clone git://git.freeswitch.org/freeswitch.git " ; \
|
||||||
echo "or check out our read only svn mirror: " ; \
|
|
||||||
echo "svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk " ; \
|
|
||||||
echo "*****************************************************************************************************" ; \
|
echo "*****************************************************************************************************" ; \
|
||||||
echo ; echo ; \
|
echo ; echo ; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update: is-scm
|
update: is-scm
|
||||||
@if test -d .svn ; then \
|
@if test -d .git ; then \
|
||||||
test ! -f .version || rm -f .version ; \
|
|
||||||
echo Updating... ; \
|
|
||||||
svn update ; \
|
|
||||||
elif test -d .git ; then \
|
|
||||||
test ! -f .version || rm -f .version ; \
|
test ! -f .version || rm -f .version ; \
|
||||||
echo "Pulling updates..." ; \
|
echo "Pulling updates..." ; \
|
||||||
git pull ; \
|
git pull ; \
|
||||||
else \
|
else \
|
||||||
echo "This source directory is not a git tree or svn working copy" ; \
|
echo "This source directory is not a git tree." ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.nodepends:
|
.nodepends:
|
||||||
|
|
Loading…
Reference in New Issue