diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info> // SPDX-License-Identifier: GPL-3.0-or-later *.html -_bin/ +_sys/usr/bin/ cover.out testdata/add.conf testdata/save.conf @@ -13,11 +13,11 @@ test: go tool cover -html=cover.out -o cover.out build: - mkdir -p _bin/ - go build $(LDFLAGS) -o _bin/ ./cmd/... + mkdir -p _sys/usr/bin/ + go build $(LDFLAGS) -o _sys/usr/bin/ ./cmd/... install: build - install -m755 _bin/gotp $(GOBIN)/ + install _sys/usr/bin/gotp $(DESTDIR)/usr/bin/ serve-doc: ciigo serve _doc |
