24 lines
841 B
Makefile
24 lines
841 B
Makefile
# GENERATED by make standalone — do not edit
|
|
#
|
|
# Shorthand for the scripts beside it; they run without it. Every target
|
|
# calls a verb its script accepts — read from that script's own dispatch.
|
|
|
|
HERE := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
|
ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
|
ifneq ($(ARGS),)
|
|
$(eval $(ARGS):;@:)
|
|
.PHONY: $(ARGS)
|
|
endif
|
|
|
|
.DEFAULT_GOAL := help
|
|
.PHONY: help deps mem
|
|
|
|
help: ## list targets
|
|
@grep -hE '^[a-z][a-z-]*:.*?##' $(MAKEFILE_LIST) | sed 's/:.*##/\t/' | expand -t16
|
|
|
|
deps: ## rigdeps.sh [detect|list|verify|fetch|install] (default detect)
|
|
bash $(HERE)rigdeps.sh $(or $(ARGS),detect)
|
|
|
|
mem: ## rigmini.sh [status|push|all|backup|restore] (default status)
|
|
bash $(HERE)rigmini.sh $(or $(ARGS),status)
|