Fix Makefile.

This commit is contained in:
daniel 2016-10-03 18:08:48 +02:00
parent cf317ef5f0
commit 091a7e5c97

View File

@ -13,7 +13,7 @@ all: versioninfo upload website
# Check repository status! # Check repository status!
# #
versioninfo: zaaReloaded2/VERSION versioninfo:
head -n 1 zaaReloaded2/VERSION | tr -d '\r' > www/versioninfo.tmp head -n 1 zaaReloaded2/VERSION | tr -d '\r' > www/versioninfo.tmp
chmod 644 www/versioninfo.tmp chmod 644 www/versioninfo.tmp
echo 'https://doktorkraus.de/zaareloaded/downloads/zaaReloaded-$$VERSION.exe' >> www/versioninfo.tmp echo 'https://doktorkraus.de/zaareloaded/downloads/zaaReloaded-$$VERSION.exe' >> www/versioninfo.tmp
@ -25,5 +25,5 @@ versioninfo: zaaReloaded2/VERSION
upload: upload:
rsync -ruvz --progress deploy/releases/* doktorkraus.de:/var/www/html/zaareloaded/downloads/ rsync -ruvz --progress deploy/releases/* doktorkraus.de:/var/www/html/zaareloaded/downloads/
website: versioninfo website:
rsync -ruvz www/ doktorkraus.de:/var/www/html/zaareloaded/ rsync -ruvz www/ doktorkraus.de:/var/www/html/zaareloaded/