Merge pull request #390 from Stig124/fix-makefile2
This commit is contained in:
commit
0ecb9c4f2f
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -192,9 +192,9 @@ install:
|
||||||
@[ -n "$(PREFIX)" ] || { echo "PREFIX is not set"; exit 1; }
|
@[ -n "$(PREFIX)" ] || { echo "PREFIX is not set"; exit 1; }
|
||||||
@{\
|
@{\
|
||||||
set -e ;\
|
set -e ;\
|
||||||
bin="$(PREFIX)/bin" ;\
|
bin="$(DESTDIR)$(PREFIX)/bin" ;\
|
||||||
doc="$(PREFIX)/share/doc/yadm" ;\
|
doc="$(DESTDIR)$(PREFIX)/share/doc/yadm" ;\
|
||||||
man="$(PREFIX)/share/man/man1" ;\
|
man="$(DESTDIR)$(PREFIX)/share/man/man1" ;\
|
||||||
install -d "$$bin" "$$doc" "$$man" ;\
|
install -d "$$bin" "$$doc" "$$man" ;\
|
||||||
install -m 0755 yadm "$$bin" ;\
|
install -m 0755 yadm "$$bin" ;\
|
||||||
install -m 0644 yadm.1 "$$man" ;\
|
install -m 0644 yadm.1 "$$man" ;\
|
||||||
|
|
Loading…
Reference in a new issue