people have got the message now
[azarus.ch.git] / Makefile
blob0dd00ad5ff8aa3eb1a33dc05c6ad4c18bb55a8c5
1 WEBDIR=/var/www/htdocs/
3 publish:
4 @if [ "$$(hostname)" = "azarus.ch" ]; then\
5 rsync -av --exclude-from exclude-file ./ $(WEBDIR);\
6 else\
7 rsync -av --exclude-from exclude-file ./ vps:/$(WEBDIR);\
8 fi
10 newpost:
11 @printf "Enter post title filename: "
12 @read TITLE; cp post.tmpl "posts/$$(date +%F)-$$TITLE.html"