Files
matchbox/Makefile
Dalton Hubble 5cd35d8606 contrib/systemd: Run bootcfg with bootcfg user/group
* Setup data dir with the bootcfg group
2016-05-17 12:30:26 -07:00

29 lines
475 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 SUCESS"
@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