Add scripts/update_lib.sh
This commit is contained in:
21
scripts/update_lib.sh
Executable file
21
scripts/update_lib.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d lib/pugixml -o ! -d lib/updfparser ] ; then
|
||||
echo "Some libraries are missing"
|
||||
echo "You must run this script at the top of libgourou working direcotry."
|
||||
echo "./lib/setup.sh must be called first (make all)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Pugixml
|
||||
pushd lib/pugixml
|
||||
git pull origin latest
|
||||
popd
|
||||
|
||||
# Base64
|
||||
# Nothing to do
|
||||
|
||||
# uPDFParser
|
||||
pushd lib/updfparser
|
||||
git pull origin master
|
||||
make clean all BUILD_STATIC=1 BUILD_SHARED=0
|
Reference in New Issue
Block a user