0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 02:57:32 +01:00
* Apparently $< is not working propertly on FreeBSD.
Changing the Makefile from $< to bin/n works.

* Simplify mkdir
This commit is contained in:
Kaíque Kandy Koga 2022-11-03 04:08:28 -03:00 committed by GitHub
parent f0315af85f
commit ca8d624474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
PREFIX ?= /usr/local
install: bin/n
mkdir -p $(PREFIX)/$(dir $<)
cp $< $(PREFIX)/$<
mkdir -p $(PREFIX)/bin
cp bin/n $(PREFIX)/bin/n
uninstall:
rm -f $(PREFIX)/bin/n