target for updateting pmwiki

This commit is contained in:
marko
2021-04-04 11:26:09 +02:00
parent 03ebfb5bce
commit 7c0405bda2
4 changed files with 25 additions and 0 deletions

2
judoWiki/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
Makefile.local

19
judoWiki/Makefile Normal file
View 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
View File

@@ -0,0 +1 @@
ftpHost = cwsvjudo.bplaced.net

View File

@@ -0,0 +1,3 @@
# login for the ftp upload
ftpUser =
ftpPassword =