diff options
-rw-r--r-- | .bzrignore | 1 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | librcc.pc.in | 2 | ||||
-rwxr-xr-x | release | 6 |
4 files changed, 7 insertions, 4 deletions
@@ -42,3 +42,4 @@ cmake_install.cmake cmake_install.cmake CMakeCache.txt rcc-gtk3-config +librcc.pc @@ -1 +1 @@ -0.2.10CVS +0.2.10 diff --git a/librcc.pc.in b/librcc.pc.in index eb100a1..501433e 100644 --- a/librcc.pc.in +++ b/librcc.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: librcc Description: Encoding Conversion Library -Requires: libxml-2.0 librcd enca +Requires: libxml-2.0 Version: @VERSION@ Libs: -L${libdir} -lrcc Cflags: -I${includedir} @@ -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` |