29 lines
576 B
Makefile
29 lines
576 B
Makefile
# Keru OS — top-level convenience targets.
|
|
# These are thin wrappers around the real shell scripts.
|
|
|
|
SHELL := sh
|
|
|
|
# sibling repos (override if cloned elsewhere)
|
|
KAMA ?= ../kama
|
|
PKGS ?= ../kama-packages
|
|
|
|
.PHONY: rootfs install live-init recipe-check clean
|
|
|
|
rootfs:
|
|
sh scripts/build-root.sh
|
|
|
|
install:
|
|
sh installer/install.sh
|
|
|
|
# syntax-check the live init (what boots you into the installer)
|
|
live-init:
|
|
sh -n live/init && echo "OK live/init"
|
|
|
|
recipe-check:
|
|
@for f in $(PKGS)/*.sh; do \
|
|
sh -n "$$f" && echo "OK $$f" || echo "FAIL $$f"; \
|
|
done
|
|
|
|
clean:
|
|
rm -rf /tmp/keru
|