Add scripts/update_lib.sh
This commit is contained in:
parent
5e018ddbd8
commit
201ec69b11
3
Makefile
3
Makefile
|
@ -45,6 +45,9 @@ lib:
|
|||
mkdir lib
|
||||
./scripts/setup.sh
|
||||
|
||||
update_lib:
|
||||
./scripts/update_lib.sh
|
||||
|
||||
obj:
|
||||
mkdir obj
|
||||
|
||||
|
|
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
|
Loading…
Reference in New Issue
Block a user