From 712ecaf3d31d1084bad6b19c0e754dea736d233d Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Sat, 24 Dec 2022 13:01:07 +0530 Subject: [PATCH] [Makefile]Follow variable naming scheme:BUILDFLAGS * BUILDFLAGS -> BUILD_FLAGS Signed-off-by: Shinyzenith --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 538071d..f952d9e 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ DESTDIR ?= "/" DAEMON_BINARY := swhkd SERVER_BINARY := swhks -BUILDFLAGS := --release +BUILD_FLAGS := --release POLKIT_DIR := /usr/share/polkit-1/actions POLKIT_POLICY_FILE := com.github.swhkd.pkexec.policy TARGET_DIR := /usr/bin @@ -14,7 +14,7 @@ VERSION = $(shell awk -F ' = ' '$$1 ~ /version/ { gsub(/["]/, "", $$2); printf(" all: build build: - @cargo build $(BUILDFLAGS) + @cargo build $(BUILD_FLAGS) @./scripts/build-polkit-policy.sh \ --policy-path=$(POLKIT_POLICY_FILE) \ --swhkd-path=$(TARGET_DIR)/$(DAEMON_BINARY)