repotool/Makefile

21 lines
396 B
Makefile

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