aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: e1b9bab6315cd8c1338f5365b863c829c3fc1490 (plain) (tree)
1
2
3
4
5
6
7
8
9

       

                                           

             
              

             
           
                 
                  
 
      
                       



                                                                 
.POSIX:

REMOTE := root@dc0
REMOTE_DIR := /var/www/htdocs/rgoncalves.se

.PHONY: all \
	site \
	clean

site: clean
	./bin/ssg
	./bin/rssg

clean:
	- rm -r out tmp

deploy: site
	rsync -e ssh -avz --delete ./out/ $(REMOTE):$(REMOTE_DIR)
	ssh $(REMOTE) chown -R www:www $(REMOTE_DIR)
remember that computers suck.