Updated build scripts for changes in the directory structure and to run on Ubuntu.

v0.27.3
Andreas Huggel 12 years ago
parent 123832d583
commit 0a461d7bea

@ -35,7 +35,7 @@ cd exiv2-$rel
make config make config
./configure --disable-shared ./configure --disable-shared
make -j3 make -j3
make install sudo make install
make samples make samples
make doc make doc
cd test cd test
@ -49,7 +49,8 @@ make distclean
rm -f Makefile rm -f Makefile
rm -f bootstrap.linux rm -f bootstrap.linux
rm -f msvc64\\runner.txt rm -f msvc64\\runner.txt
find . -type f -name '*[Cc][Mm][Aa][Kk][Ee]*' | xargs rm -f # 01-Dec-2013, ahu: Include CMake files in the distribution
#find . -type f -name '*[Cc][Mm][Aa][Kk][Ee]*' | xargs rm -f
rm -rf xmpsdk/src/.libs rm -rf xmpsdk/src/.libs
# Create source and doc packages # Create source and doc packages
@ -63,7 +64,7 @@ rm -rf exiv2-$rel
tar zxvf exiv2-$rel.tar.gz tar zxvf exiv2-$rel.tar.gz
cd exiv2-$rel cd exiv2-$rel
./configure ./configure
make -j3 make -j5
make install make install
make samples make samples
echo Exporting tests, this may take a while... echo Exporting tests, this may take a while...

@ -27,11 +27,11 @@ make -j3
# Prepare package # Prepare package
cd src cd src
rel=`grep EXV_PACKAGE_VERSION ../msvc/include/exv_msvc.h | sed 's/.*"\(.*\)"/\1/'` rel=`grep EXV_PACKAGE_VERSION ../msvc2012/include/exv_msvc.h | sed 's/.*"\(.*\)"/\1/'`
tmpdir=exiv2-$rel-win tmpdir=exiv2-$rel-win
rm -rf $tmpdir rm -rf $tmpdir
mkdir $tmpdir mkdir $tmpdir
cp exiv2 $tmpdir/exiv2.exe cp ../bin/exiv2 $tmpdir/exiv2.exe
cd $tmpdir cd $tmpdir
strip exiv2.exe strip exiv2.exe
cp ../../doc/cmd.txt . cp ../../doc/cmd.txt .

Loading…
Cancel
Save