target for updateting pmwiki
This commit is contained in:
2
judoWiki/.gitignore
vendored
Normal file
2
judoWiki/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Makefile.local
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
1
judoWiki/Makefile.cfg
Normal file
1
judoWiki/Makefile.cfg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ftpHost = cwsvjudo.bplaced.net
|
||||||
3
judoWiki/Makefile.local-template
Normal file
3
judoWiki/Makefile.local-template
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# login for the ftp upload
|
||||||
|
ftpUser =
|
||||||
|
ftpPassword =
|
||||||
Reference in New Issue
Block a user