summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 12:23:15 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 12:46:07 -0700
commit716dd31f7cf52d9772fd4ed687f9cdc921443a35 (patch)
treeded6651a3b6e240f60759465af9abccd52d5984d /Makefile
parent774689062b4ac1921434a6c7a2ac78b8f29ac85a (diff)
Set up as a separate repov0.0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index c413091..1138bd3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
+# Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
@@ -18,26 +18,18 @@ 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/files = LICENSE.gpl-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:
+LICENSE.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
@@ -46,7 +38,7 @@ tools/bin/%: tools/src/%/pin.go tools/src/%/go.mod
# go mod tidy
-goversion = 1.19
+goversion = 1.18
go-mod-tidy:
.PHONY: go-mod-tidy