mirror of
https://github.com/tj/n.git
synced 2024-12-01 14:41:07 +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
|