repotool/Makefile

21 lines
379 B
Makefile
Raw Normal View History

2024-05-02 00:43:43 +00:00
.PHONY: all install
2024-05-01 23:12:04 +00:00
SOURCES_LIBS:=$(shell find lib -type f)
SOURCES_SRC:=$(shell find src -type f )
2024-05-02 00:43:43 +00:00
INSTALL_PATH:= $(shell echo ${HOME}/repo/.bin)
2024-05-01 23:12:04 +00:00
all: repotool
2024-05-02 00:43:43 +00:00
install: repotool
mkdir -p ${INSTALL_PATH}
install repotool repotool.zsh ${INSTALL_PATH}
2024-05-01 23:12:04 +00:00
src/lib/repotool/stdlib.sh: $(SOURCES_LIBS)
bashly add --source . stdlib -f
repotool: $(SOURCES_SRC)
bashly generate