repotool/Makefile

21 lines
399 B
Makefile

.PHONY: all install
SOURCES_LIBS:=$(shell find lib -type f)
SOURCES_SRC:=$(shell find src -type f )
INSTALL_PATH:= $(shell echo ${HOME}/repo/.bin)
all: repotool
install: repotool
mkdir -p ${INSTALL_PATH}
install repotool repotool.zsh repotool.plugin.zsh ${INSTALL_PATH}
src/lib/repotool/stdlib.sh: $(SOURCES_LIBS)
bashly add --source . stdlib -f
repotool: $(SOURCES_SRC)
bashly generate