repotool/Makefile

21 lines
396 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:52:15 +00:00
REPOTOOL_PATH ?= ${HOME}/repo
2024-05-01 23:12:04 +00:00
all: repotool
2024-05-02 00:43:43 +00:00
install: repotool
2024-05-02 00:52:15 +00:00
mkdir -p ${REPOTOOL_PATH}/.bin/
install repotool repotool.zsh repotool.plugin.zsh ${REPOTOOL_PATH}/.bin/
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