adding init program
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,5 +1,6 @@
|
||||
BINARY := streamdeck-go
|
||||
HELPER := streamdeck-helper
|
||||
INIT := streamdeck-init
|
||||
PREFIX ?= $(HOME)/.local
|
||||
CONFIG_DIR := $(HOME)/.config/streamdeck-go
|
||||
GROUP := streamdeck
|
||||
@@ -23,7 +24,7 @@ else
|
||||
UDEV_RULE := /etc/udev/rules.d/99-streamdeck.rules
|
||||
endif
|
||||
|
||||
.PHONY: build build-helper install install-helper uninstall uninstall-helper udev
|
||||
.PHONY: build build-helper build-init install install-helper uninstall uninstall-helper udev
|
||||
|
||||
# ── Build ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -33,6 +34,9 @@ build:
|
||||
build-helper:
|
||||
go build -o $(HELPER) ./cmd/streamdeck-helper/
|
||||
|
||||
build-init:
|
||||
go build -o $(INIT) ./cmd/streamdeck-init/
|
||||
|
||||
# ── Install ───────────────────────────────────────────────────────────────────
|
||||
|
||||
# Interactive install — prompts for dotfiles directory, installs binary + service.
|
||||
|
||||
Reference in New Issue
Block a user