2009-10-26 08:42:19 +00:00
|
|
|
DESTDIR=/home/users/nico/privat/rechner/netz/seiten/www.nico.schottelius.org/dst/
|
2009-05-14 17:36:16 +00:00
|
|
|
PUBDIR=tee.schottelius.org:/home/services/www/nico/www.nico.schottelius.org/www/
|
2009-10-21 11:26:27 +00:00
|
|
|
BROWSER=conkeror
|
2010-03-12 17:19:04 +00:00
|
|
|
#IKIWIKI=ikiwikitest.sh
|
|
|
|
IKIWIKI=ikiwiki
|
2009-05-14 15:55:05 +00:00
|
|
|
|
|
|
|
all:
|
2009-10-27 10:08:10 +00:00
|
|
|
$(IKIWIKI) --refresh --setup ikiwiki.setup
|
|
|
|
|
2010-03-12 17:24:24 +00:00
|
|
|
lall:
|
2010-04-08 20:08:24 +00: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 17:24:24 +00:00
|
|
|
|
2009-10-27 10:08:10 +00:00
|
|
|
all-unfresh:
|
2009-10-21 20:10:10 +00:00
|
|
|
$(IKIWIKI) --setup ikiwiki.setup
|
2009-05-14 15:55:05 +00:00
|
|
|
|
2010-04-08 20:39:19 +00: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 17:24:24 +00:00
|
|
|
view:
|
2009-10-27 10:08:10 +00:00
|
|
|
$(BROWSER) ${DESTDIR}/index.html
|
|
|
|
|
2009-05-14 15:55:05 +00:00
|
|
|
clean: all
|
|
|
|
rm -rf ${DESTDIR}
|
|
|
|
|
2010-03-12 17:24:24 +00:00
|
|
|
public:
|
2009-06-21 08:25:35 +00:00
|
|
|
git push --mirror
|
2010-03-04 22:16:07 +00:00
|
|
|
|
2010-03-12 17:24:24 +00:00
|
|
|
#public: ask public-f
|
2010-03-04 22:16:07 +00:00
|
|
|
|
2010-03-12 17:24:24 +00: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 17:36:16 +00:00
|
|
|
|
2010-03-12 17:24:24 +00:00
|
|
|
#ask:
|
|
|
|
# @echo "Press return to publish..."
|
|
|
|
# @read avariable
|
|
|
|
# git push --mirror
|
2009-05-14 17:36:16 +00:00
|
|
|
|