fixed makefile to not install unless needed
This commit is contained in:
parent
89bb34256e
commit
cb62c1de4f
1 changed files with 4 additions and 2 deletions
6
makefile
6
makefile
|
|
@ -8,8 +8,10 @@ help:
|
||||||
echo "which is currently set to ${PREFIX}"
|
echo "which is currently set to ${PREFIX}"
|
||||||
echo "run: make install to make that happen."
|
echo "run: make install to make that happen."
|
||||||
|
|
||||||
install: zpp
|
install: ${PREFIX}/zpp
|
||||||
|
|
||||||
|
${PREFIX}/zpp: zpp
|
||||||
mkdir -p ${PREFIX}
|
mkdir -p ${PREFIX}
|
||||||
install --backup=numbered -t ${PREFIX} zpp
|
install --backup=numbered $< $@
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue