~whynothugo/sb-backup

sb-backup/Makefile -rw-r--r-- 257 bytes
01f9297c — Hugo Osvaldo Barrera Include a licence for this project 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
DESTDIR?=/
PREFIX=/usr

build:
	go build -ldflags '-s'

install: build
	@install -Dm755 sb-backup \
	  ${DESTDIR}${PREFIX}/bin/sb-backup
	@install -Dm644 sb-backup.service \
	  ${DESTDIR}${PREFIX}/lib/systemd/system/sb-backup.service

.PHONY: build install