~dricottone/digestion

ref: ee94f07cfd199e1fd4738e541dae35d3e957ff93 digestion/Makefile -rw-r--r-- 345 bytes
ee94f07cDominic Ricottone Updating go version, dependency version, and module name 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SHARE_DIR?=/usr/local/share
INSTALL_DIR?=$(SHARE_DIR)/mail-filters
GO_FILES=$(shell find -name '*.go')

.PHONY: clean
clean:
	rm -rf digestion go.sum

digestion: $(GO_FILES)
	go get -u
	go build

.PHONY: build
build: digestion

.PHONY: install
install: digestion
	mkdir -m755 -p $(INSTALL_DIR)
	install -m755 digestion $(INSTALL_DIR)/digestion