repotool/Makefile

21 lines
399 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}
2024-05-02 00:48:55 +00:00
install repotool repotool.zsh repotool.plugin.zsh ${INSTALL_PATH}
2024-05-02 00:43:43 +00:00
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