diff --git a/Makefile b/Makefile index 83a2437..fb85e78 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ SOURCES_LIBS:=$(shell find lib -type f) SOURCES_SRC:=$(shell find src -type f ) -INSTALL_PATH:= $(shell echo ${HOME}/repo/.bin) +REPOTOOL_PATH ?= ${HOME}/repo all: repotool install: repotool - mkdir -p ${INSTALL_PATH} - install repotool repotool.zsh repotool.plugin.zsh ${INSTALL_PATH} + mkdir -p ${REPOTOOL_PATH}/.bin/ + install repotool repotool.zsh repotool.plugin.zsh ${REPOTOOL_PATH}/.bin/ src/lib/repotool/stdlib.sh: $(SOURCES_LIBS)