Split repos

This commit is contained in:
Tobias Reisinger 2024-10-28 19:53:42 +01:00
parent ab7c74f888
commit ff19aeaf32
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
32 changed files with 19 additions and 530 deletions

View file

@ -1,22 +1,12 @@
target:
@echo "Select target directory"
@echo $$(find . -name bashly.yml | sed -e 's/.\///' -e 's/\/.*//' | $$DMENU) > .target
completions:
bashly add completions
get-target:
$(eval TARGET := $(shell cat .target))
output-dir:
mkdir -p ./output
completions: get-target
BASHLY_SOURCE_DIR=$(TARGET) bashly add completions
generate: get-target output-dir completions
BASHLY_SOURCE_DIR=$(TARGET) bashly generate --upgrade
generate: completions
bashly generate --upgrade
docs: generate
BASHLY_SOURCE_DIR=$(TARGET) bashly render :mandoc ./output/man1
bashly render :mandoc ./man1
install: generate docs
cp -f ./output/$(TARGET) ~/.local/bin/
cp -f ./output/man1/$(TARGET)*.1 ~/.local/share/man/man1/
cp -f ./autostart-manage ~/.local/bin/
cp -f ./man1/autostart-manage*.1 ~/.local/share/man/man1/