summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-01-29 14:44:31 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-01-29 14:44:31 +0100
commit9d23e579e35ac85828dc2568134cd37de19ad94d (patch)
tree60a19d2dd26771e09d8a77583a2d8f11731c40b4 /release
parentc10a86d98055feff29445021559c9f6d3c5078e6 (diff)
downloadlibrcc-9d23e579e35ac85828dc2568134cd37de19ad94d.tar.gz
librcc-9d23e579e35ac85828dc2568134cd37de19ad94d.tar.bz2
librcc-9d23e579e35ac85828dc2568134cd37de19ad94d.tar.xz
librcc-9d23e579e35ac85828dc2568134cd37de19ad94d.zip
Remove librcd and enca from pkgconfig requires
Diffstat (limited to 'release')
-rwxr-xr-xrelease6
1 files changed, 4 insertions, 2 deletions
diff --git a/release b/release
index 74c9759..b4c643a 100755
--- a/release
+++ b/release
@@ -14,8 +14,8 @@ if [ ! -d $RDIR ]; then
mkdir -p $RDIR
fi
-version=`cat VERSION | perl -e "while (<STDIN>) { if (m/(\d\.\d(.\d)?)/) { print \\$1; } }"`
-cvs=`cat VERSION | perl -e "while (<STDIN>) { if (m/\d\.\d(.\d)?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"`
+version=`cat VERSION | perl -e "while (<STDIN>) { if (m/(\d+\.\d+(.\d+)?)/) { print \\$1; } }"`
+cvs=`cat VERSION | perl -e "while (<STDIN>) { if (m/\d+\.\d+(.\d+)?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"`
if [ "$cvs" == "cvs" ]; then
rname="$NAME-`date +%y%m%d.%H`"
else
@@ -41,6 +41,8 @@ cp -a * $RDIR/$rname
find . -name CMakeFiles -print0 | xargs -0 rm -rf
find . -name CMakeCache.txt -print0 | xargs -0 rm -rf
find . -name cmake_install.cmake -print0 | xargs -0 rm -rf
+ find . -name "*~" -print0 | xargs -0 rm -rf
+
rm -rf autom4te*.cache
rm -rf "{arch}"
rm -rf `find . -name .arch-ids`