2009-10-26 09:42:19 +01:00
|
|
|
DESTDIR=/home/users/nico/privat/rechner/netz/seiten/www.nico.schottelius.org/dst/
|
2009-05-14 19:36:16 +02:00
|
|
|
PUBDIR=tee.schottelius.org:/home/services/www/nico/www.nico.schottelius.org/www/
|
2009-10-21 13:26:27 +02:00
|
|
|
BROWSER=conkeror
|
2010-03-12 18:19:04 +01:00
|
|
|
#IKIWIKI=ikiwikitest.sh
|
|
|
|
IKIWIKI=ikiwiki
|
2009-05-14 17:55:05 +02:00
|
|
|
|
|
|
|
all:
|
2009-10-27 11:08:10 +01:00
|
|
|
$(IKIWIKI) --refresh --setup ikiwiki.setup
|
|
|
|
|
2010-03-12 18:24:24 +01:00
|
|
|
lall:
|
2010-04-08 22:08:24 +02:00
|
|
|
$(IKIWIKI) --refresh --setup ikiwiki.setup --set destdir=../dst --set srcdir=. --set git_wrapper= --set git_wrappermode= --set gitorigin_branch= --set gitmaster_branch=
|
2010-03-12 18:24:24 +01:00
|
|
|
|
2009-10-27 11:08:10 +01:00
|
|
|
all-unfresh:
|
2009-10-21 22:10:10 +02:00
|
|
|
$(IKIWIKI) --setup ikiwiki.setup
|
2009-05-14 17:55:05 +02:00
|
|
|
|
2010-04-08 22:39:19 +02:00
|
|
|
lall-unfresh:
|
|
|
|
$(IKIWIKI) --setup ikiwiki.setup --set destdir=../dst --set srcdir=. --set git_wrapper= --set git_wrappermode= --set gitorigin_branch= --set gitmaster_branch=
|
|
|
|
|
2010-03-12 18:24:24 +01:00
|
|
|
view:
|
2009-10-27 11:08:10 +01:00
|
|
|
$(BROWSER) ${DESTDIR}/index.html
|
|
|
|
|
2009-05-14 17:55:05 +02:00
|
|
|
clean: all
|
|
|
|
rm -rf ${DESTDIR}
|
|
|
|
|
2011-02-04 23:11:57 +01:00
|
|
|
pub:
|
2009-06-21 10:25:35 +02:00
|
|
|
git push --mirror
|
2010-03-04 23:16:07 +01:00
|
|
|
|
2010-03-12 18:24:24 +01:00
|
|
|
#public: ask public-f
|
2010-03-04 23:16:07 +01:00
|
|
|
|
2010-03-12 18:24:24 +01:00
|
|
|
#public-f: all
|
|
|
|
# find ${DESTDIR} -type f -exec chmod 0644 {} \;
|
|
|
|
# find ${DESTDIR} -type d -exec chmod 0755 {} \;
|
|
|
|
# rsync -av --delete ${DESTDIR} ${PUBDIR}
|
2009-05-14 19:36:16 +02:00
|
|
|
|
2010-03-12 18:24:24 +01:00
|
|
|
#ask:
|
|
|
|
# @echo "Press return to publish..."
|
|
|
|
# @read avariable
|
|
|
|
# git push --mirror
|
2009-05-14 19:36:16 +02:00
|
|
|
|