repotool/Makefile
2024-05-01 19:43:43 -05:00

21 lines
379 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 ${INSTALL_PATH}
src/lib/repotool/stdlib.sh: $(SOURCES_LIBS)
bashly add --source . stdlib -f
repotool: $(SOURCES_SRC)
bashly generate