summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-08-13 15:11:17 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-08-13 15:18:11 -0600
commit234e0836f1040f7724251b4120a2351bcbf64131 (patch)
tree201b30fcc99eed470ae345a9bbe594f7ee7a1178 /Makefile
parentf2769bd863521cf316ec9237a498bfa4ecaa115f (diff)
set up as a separate repo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index c6cb224..d825ce9 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,6 @@
# main
-build:
- go build -o bin/ ./cmd/...
-.PHONY: build
-
check:
go test -race ./...
.PHONY: check
@@ -19,25 +15,17 @@ lint: tools/bin/golangci-lint
# generate
generate/files = COPYING.gpl-2.0.txt
-generate/files += COPYING.gpl-3.0.txt
-generate/files += COPYING.apache-2.0.txt
generate: generate-clean
- $(MAKE) -C lib/btrfs
$(MAKE) $(generate/files)
.PHONY: generate
generate-clean:
- $(MAKE) -C lib/btrfs clean
rm -f $(generate/files)
.PHONY: generate-clean
COPYING.gpl-2.0.txt:
curl https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt > $@
-COPYING.gpl-3.0.txt:
- curl https://www.gnu.org/licenses/gpl-3.0.txt > $@
-COPYING.apache-2.0.txt:
- curl https://apache.org/licenses/LICENSE-2.0.txt > $@
# tools