target for updateting pmwiki
This commit is contained in:
19
judoWiki/Makefile
Normal file
19
judoWiki/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
include Makefile.cfg
|
||||
include Makefile.local
|
||||
|
||||
.PHONY: all clean
|
||||
all:
|
||||
|
||||
.PHONY:
|
||||
clean:
|
||||
rm -r tmp
|
||||
mkdir -p tmp
|
||||
|
||||
.PHONY: updatePmWiki
|
||||
updatePmWiki: clean
|
||||
mkdir -p tmp
|
||||
curl -L -o tmp/.pmwiki-latest.tgz http://pmwiki.org/pub/pmwiki/pmwiki-latest.tgz
|
||||
tar zxvf tmp/.pmwiki-latest.tgz -C tmp/
|
||||
mv -f tmp/pmwiki-* tmp/JudoWiki
|
||||
lftp -e "set ftp:ssl-allow no; mirror -R --only-newer --parallel ./tmp/JudoWiki /www/; quit" -u $(ftpUser),$(ftpPassword) $(ftpHost)
|
||||
|
||||
Reference in New Issue
Block a user