aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dd45c4c..db17c6e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,15 @@ include config.mk
build:
go mod tidy
- gofmt -l -s -w ./**/*.go
+ go build
+ go test
+ gofmt -l -s -w .
clean:
rm -f pfc
-install: build
+install:
+ go build
cp pfc ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/pfc
mkdir -p ${DESTDIR}${MANPREFIX}/man1