Makefile (315B)
1 .POSIX: 2 3 INSTALL_PATH=/usr/local/bin 4 ASSET_PATH=/usr/local/share/tempestas/www 5 RC_PATH=/usr/local/etc/rc.d 6 7 build: 8 go build 9 10 clean: 11 rm tempestas 12 13 install: 14 cp tempestas "$(INSTALL_PATH)/" 15 mkdir -p "$(ASSET_PATH)" 16 cp -r static/* "$(ASSET_PATH)/" 17 cp etc/rc.d/tempestas "$(RC_PATH)/" 18 19 .PHONY: build clean install