8b9558d4c482312c1275f6d16a09346eb1e61b29
[thefekete.net.git] / Makefile
1 view:
2 xdg-open index.html
3
4 publish:
5 @git diff-index --quiet HEAD -- && test -z "$(git ls-files --others)" || ( \
6 1>&2 echo "Index is dirty or there are uncommitted files!"; \
7 git status; \
8 exit 1; \
9 )
10 git archive --format=tgz HEAD \
11 | ssh root@thefekete.net "cd /var/www/thefekete.net && tar zxvf -"
12
13 .PHONY: publish view