mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
29 lines
476 B
Makefile
29 lines
476 B
Makefile
|
|
BIN_DIR=/usr/local/bin
|
|
DATA_DIR=/var/lib/bootcfg
|
|
ENV_FILE=/etc/bootcfg.env
|
|
|
|
all: build
|
|
|
|
build:
|
|
./build
|
|
|
|
test:
|
|
./test
|
|
|
|
install:
|
|
touch ${ENV_FILE}
|
|
cp bin/bootcfg $(BIN_DIR)
|
|
cp bin/bootcmd $(BIN_DIR)
|
|
@echo "**************"
|
|
@echo "INSTALL SUCCESS"
|
|
@echo "**************"
|
|
@echo "bootcfg was installed to /usr/local/bin/bootcfg"
|
|
@echo "bootcmd was installed to /usr/local/bin/bootcmd"
|
|
|
|
uninstall:
|
|
rm $(BIN_DIR)/bootcfg
|
|
rm $(BIN_DIR)/bootcmd
|
|
|
|
.PHONY: build test install
|