mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
Use sbin instead of bin
Go compiles everything statically, and resulting programs have no runtime dependencies. We don't depend on any dynamically linked library.
This commit is contained in:
parent
6826e93667
commit
502b4bb339
6
Makefile
6
Makefile
@ -2,7 +2,7 @@
|
||||
.SUFFIXES:
|
||||
|
||||
PREFIX=/usr/local
|
||||
BINDIR=$(PREFIX)/bin
|
||||
SBINDIR=$(PREFIX)/sbin
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
GO=go
|
||||
|
||||
@ -13,8 +13,8 @@ mycorrhiza:
|
||||
$(GO) build $(GOFLAGS) -o mycorrhiza .
|
||||
|
||||
install:
|
||||
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
|
||||
install -m755 mycorrhiza $(DESTDIR)$(BINDIR)/mycorrhiza
|
||||
mkdir -m755 -p $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man1
|
||||
install -m755 mycorrhiza $(DESTDIR)$(SBINDIR)/mycorrhiza
|
||||
install -m644 doc/mycorrhiza.1 $(DESTDIR)$(MANDIR)/man1/mycorrhiza.1
|
||||
|
||||
.PHONY: all mycorrhiza install
|
||||
|
Loading…
Reference in New Issue
Block a user