0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +01:00

make sure install directory exists

Create the target directory structure before copying
This commit is contained in:
Ali Ijaz Sheikh 2015-02-17 17:32:45 -08:00
parent 8c05c5ab26
commit 1c9eaae77e

View File

@ -2,6 +2,7 @@
PREFIX ?= /usr/local
install: bin/n
mkdir -p $(PREFIX)/$(dir $<)
cp $< $(PREFIX)/$<
uninstall: