repotool/Makefile
2024-05-01 19:52:15 -05:00

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