sebastiano.tronto.net

Source files and build scripts for my personal website
git clone https://git.tronto.net/sebastiano.tronto.net
Download | Log | Files | Refs | README

Makefile (330B)


      1 DEST="sebastiano@tronto.net:/var/www/htdocs/sebastiano.tronto.net"
      2 RSYNC=$$( (command -V rsync 2>&1 > /dev/null && echo rsync) || echo openrsync)
      3 
      4 all: clean
      5 	./build.sh
      6 
      7 clean:
      8 	rm -rf http
      9 	mkdir -p http
     10 
     11 deploy: synchttp
     12 
     13 synchttp:
     14 	${RSYNC} -rv --delete --rsync-path=openrsync http/ ${DEST}
     15 
     16 .PHONY: all clean deploy synchttp