parent
956be33728
commit
7073e7df87
14
Makefile
14
Makefile
|
@ -1,9 +1,9 @@
|
||||||
PREFIX ?= /usr/local
|
PREFIX = /usr/local
|
||||||
bindir ?= /bin
|
bindir = /bin
|
||||||
mandir ?= /share/man
|
mandir = /share/man
|
||||||
|
|
||||||
install: sx sx.1
|
install: sx sx.1
|
||||||
install -Dm0755 sx $(DESTDIR)$(PREFIX)$(bindir)/sx
|
mkdir -p $(DESTDIR)$(PREFIX)$(bindir)
|
||||||
install -Dm0644 sx.1 $(DESTDIR)$(PREFIX)$(mandir)/man1/sx.1
|
mkdir -p $(DESTDIR)$(PREFIX)$(mandir)/man1
|
||||||
|
cp -f sx $(DESTDIR)$(PREFIX)$(bindir)
|
||||||
.PHONY: install
|
cp -f sx.1 $(DESTDIR)$(PREFIX)$(mandir)/man1
|
||||||
|
|
Loading…
Reference in New Issue