aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-09-18 00:53:43 +0700
committerShulhan <ms@kilabit.info>2022-09-18 01:02:00 +0700
commit403eb5ddbdbfd1d26fe2fa5710660230d7bb7e58 (patch)
treefdebb6628d85f7ead8c76f11fc492412dcfea7af /Makefile
parent30f1269bc73dcda364def5e61d5dfd4a2c3ec6fc (diff)
downloadgotp-403eb5ddbdbfd1d26fe2fa5710660230d7bb7e58.tar.xz
all: move the installation steps in AUR to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cab823e..1f46a8e 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ build:
go build $(LDFLAGS) -o _sys/usr/bin/ ./cmd/...
install: build
- install _sys/usr/bin/gotp $(DESTDIR)/usr/bin/
+ install -D _sys/usr/bin/gotp $(DESTDIR)/usr/bin/gotp
+ install -Dm644 COPYING $(DESTDIR)/usr/share/licenses/gotp/COPYING
serve-doc:
ciigo serve _doc