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

       

                                           







                  
                 
 
               
                                                                
                                                    

      
                       
.POSIX:

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

.PHONY: all \
	website \
	clean

all: clean website

website: clean
	./bin/ssg

deploy: website
	rsync -e ssh -avz --delete out / $(REMOTE):$(REMOTE_DIR)
	ssh $(REMOTE) chown -R www:www $(REMOTE_DIR)

clean:
	- rm -r out tmp
remember that computers suck.