Commit ea26d683 authored by Mircea Bardac's avatar Mircea Bardac

make target for downloading Psi translations


git-svn-id: svn+ssh://svn.psi-im.org/home/psi/svn/win-installer/trunk@41 2d3a5ac0-73f9-4639-b284-2310bd1da355
parent 3600b9c2
# Makefile for the Psi Installer
SRC_LANG=http://psi-im.org/download/lang
.PHONY: all languages files build clean
all: path_config languages files build
download_lang:
rm -rf app/psi_lang
mkdir -p app/psi_lang
wget -nv $(SRC_LANG)/listfiles.php -O _tmplist
@cat _tmplist | sed -e 's|<br/>| |g' | tr ' ' '\n' | while read l; do\
if [ "$$l " != " " ]; then\
wget -nv $(SRC_LANG)/$$l -O app/psi_lang/$$l;\
fi;\
done
rm -f _tmplist
path_config:
sed -i.orig 's|!define INSTALLER_HOME.*|!define INSTALLER_HOME "$(CURDIR)"|g' config.nsh
rm config.nsh.orig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment