mirror of
https://github.com/tj/n.git
synced 2024-11-22 11:37:26 +01:00
1c9eaae77e
Create the target directory structure before copying
12 lines
150 B
Makefile
12 lines
150 B
Makefile
|
|
PREFIX ?= /usr/local
|
|
|
|
install: bin/n
|
|
mkdir -p $(PREFIX)/$(dir $<)
|
|
cp $< $(PREFIX)/$<
|
|
|
|
uninstall:
|
|
rm -f $(PREFIX)/bin/n
|
|
|
|
.PHONY: install uninstall
|