www.nico.schottelius.org/Makefile
Nico Schottelius a4b81f511a try to disable the git wrapper for local generation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-04-08 22:08:24 +02:00

36 lines
857 B
Makefile

DESTDIR=/home/users/nico/privat/rechner/netz/seiten/www.nico.schottelius.org/dst/
PUBDIR=tee.schottelius.org:/home/services/www/nico/www.nico.schottelius.org/www/
BROWSER=conkeror
#IKIWIKI=ikiwikitest.sh
IKIWIKI=ikiwiki
all:
$(IKIWIKI) --refresh --setup ikiwiki.setup
lall:
$(IKIWIKI) --refresh --setup ikiwiki.setup --set destdir=../dst --set srcdir=. --set git_wrapper= --set git_wrappermode= --set gitorigin_branch= --set gitmaster_branch=
all-unfresh:
$(IKIWIKI) --setup ikiwiki.setup
view:
$(BROWSER) ${DESTDIR}/index.html
clean: all
rm -rf ${DESTDIR}
public:
git push --mirror
#public: ask public-f
#public-f: all
# find ${DESTDIR} -type f -exec chmod 0644 {} \;
# find ${DESTDIR} -type d -exec chmod 0755 {} \;
# rsync -av --delete ${DESTDIR} ${PUBDIR}
#ask:
# @echo "Press return to publish..."
# @read avariable
# git push --mirror