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