Updated build scripts for changes in the directory structure and to run on Ubuntu.
This commit is contained in:
parent
123832d583
commit
0a461d7bea
@ -35,7 +35,7 @@ cd exiv2-$rel
|
||||
make config
|
||||
./configure --disable-shared
|
||||
make -j3
|
||||
make install
|
||||
sudo make install
|
||||
make samples
|
||||
make doc
|
||||
cd test
|
||||
@ -49,7 +49,8 @@ make distclean
|
||||
rm -f Makefile
|
||||
rm -f bootstrap.linux
|
||||
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
|
||||
|
||||
# Create source and doc packages
|
||||
@ -63,7 +64,7 @@ rm -rf exiv2-$rel
|
||||
tar zxvf exiv2-$rel.tar.gz
|
||||
cd exiv2-$rel
|
||||
./configure
|
||||
make -j3
|
||||
make -j5
|
||||
make install
|
||||
make samples
|
||||
echo Exporting tests, this may take a while...
|
||||
|
||||
@ -27,11 +27,11 @@ make -j3
|
||||
|
||||
# Prepare package
|
||||
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
|
||||
rm -rf $tmpdir
|
||||
mkdir $tmpdir
|
||||
cp exiv2 $tmpdir/exiv2.exe
|
||||
cp ../bin/exiv2 $tmpdir/exiv2.exe
|
||||
cd $tmpdir
|
||||
strip exiv2.exe
|
||||
cp ../../doc/cmd.txt .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user