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
|
2009-10-27 10:08:10 +00:00
|
|
|
IKIWIKI=ikiwikitest.sh
|
2009-05-14 15:55:05 +00:00
|
|
|
|
|
|
|
all:
|
2009-10-27 10:08:10 +00:00
|
|
|
$(IKIWIKI) --refresh --setup ikiwiki.setup
|
|
|
|
|
|
|
|
all-unfresh:
|
2009-10-21 20:10:10 +00:00
|
|
|
$(IKIWIKI) --setup ikiwiki.setup
|
2009-05-14 15:55:05 +00:00
|
|
|
|
2009-10-27 10:08:10 +00:00
|
|
|
view: all
|
|
|
|
$(BROWSER) ${DESTDIR}/index.html
|
|
|
|
|
2009-05-14 15:55:05 +00:00
|
|
|
clean: all
|
|
|
|
rm -rf ${DESTDIR}
|
|
|
|
|
2010-03-04 22:16:07 +00:00
|
|
|
ask:
|
2009-12-02 05:30:41 +00:00
|
|
|
@echo "Press return to publish..."
|
|
|
|
@read avariable
|
2009-06-21 08:25:35 +00:00
|
|
|
git push --mirror
|
2010-03-04 22:16:07 +00:00
|
|
|
|
|
|
|
public: ask public-f
|
|
|
|
|
|
|
|
public-f: all
|
2009-11-23 20:30:20 +00:00
|
|
|
find ${DESTDIR} -type f -exec chmod 0644 {} \;
|
|
|
|
find ${DESTDIR} -type d -exec chmod 0755 {} \;
|
2009-05-14 17:36:16 +00:00
|
|
|
rsync -av --delete ${DESTDIR} ${PUBDIR}
|
|
|
|
|
|
|
|
|