1
0
Fork 0
mirror of synced 2024-06-18 05:31:09 -04:00

Merge pull request #390 from Stig124/fix-makefile2

This commit is contained in:
Tim Byrne 2021-11-29 12:55:15 -06:00
commit 0ecb9c4f2f
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -192,9 +192,9 @@ install:
@[ -n "$(PREFIX)" ] || { echo "PREFIX is not set"; exit 1; }
@{\
set -e ;\
bin="$(PREFIX)/bin" ;\
doc="$(PREFIX)/share/doc/yadm" ;\
man="$(PREFIX)/share/man/man1" ;\
bin="$(DESTDIR)$(PREFIX)/bin" ;\
doc="$(DESTDIR)$(PREFIX)/share/doc/yadm" ;\
man="$(DESTDIR)$(PREFIX)/share/man/man1" ;\
install -d "$$bin" "$$doc" "$$man" ;\
install -m 0755 yadm "$$bin" ;\
install -m 0644 yadm.1 "$$man" ;\