fix checkversion on Freebsd, another hardcoded make
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2896 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
35504516b3
commit
882c00d615
|
@ -142,10 +142,10 @@ freeswitch_LDADD = ${top_builddir}/libfreeswitch.la
|
|||
|
||||
|
||||
version: Makefile src/include/switch_version.h
|
||||
./build/checkversion.sh
|
||||
MAKE=$(MAKE) ./build/checkversion.sh
|
||||
|
||||
newversion: Makefile
|
||||
./build/checkversion.sh force
|
||||
MAKE=$(MAKE) ./build/checkversion.sh force
|
||||
$(MAKE)
|
||||
|
||||
.nodepends:
|
||||
|
|
|
@ -1072,10 +1072,10 @@ uninstall-info: uninstall-info-recursive
|
|||
|
||||
|
||||
version: Makefile src/include/switch_version.h
|
||||
./build/checkversion.sh
|
||||
MAKE=$(MAKE) ./build/checkversion.sh
|
||||
|
||||
newversion: Makefile
|
||||
./build/checkversion.sh force
|
||||
MAKE=$(MAKE) ./build/checkversion.sh force
|
||||
$(MAKE)
|
||||
|
||||
.nodepends:
|
||||
|
|
|
@ -16,5 +16,12 @@ grep "@SVN_VERSION@" src/include/switch_version.h && force=1
|
|||
if [ $oldversion != $version ] || [ $force = 1 ] ; then
|
||||
cat src/include/switch_version.h.in | sed "s/@SVN_VERSION@/$version/g" > src/include/switch_version.h
|
||||
echo $version > .version
|
||||
make modclean
|
||||
if [ -z "$MAKE" ] ; then
|
||||
make=`which gmake 2>/dev/null`
|
||||
if [ -z "$MAKE" ] ; then
|
||||
make=make
|
||||
fi
|
||||
fi
|
||||
|
||||
$MAKE modclean
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue