diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2020-02-02 13:58:53 +0100 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2020-02-02 13:58:53 +0100 |
commit | 052e56ccd662fba25abd7780be5feb66a8e0710b (patch) | |
tree | a680e6f246014def3fbde7a686dca7b76881150f /Makefile | |
parent | 7504b58765cafae7f7628fe02204883a200a4b10 (diff) |
Build fixup
systemd install fixup
Closes #42, #44
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -11,17 +11,18 @@ INSTALL_UDEV_RULES = 1 INSTALL_UDEV_1 = install_udev_rules UDEVDIR ?= /lib/udev/rules.d -MODE_0 = 4711 -MODE_1 = 0755 -MODE = ${MODE_${INSTALL_UDEV_RULES}} - ifdef ENABLE_SYSTEMD CFLAGS += ${shell pkg-config --cflags libsystemd} LDLIBS += ${shell pkg-config --libs libsystemd} CPPFLAGS += -DENABLE_SYSTEMD - MODE = 0755 + INSTALL_UDEV_RULES=0 endif +MODE_0 = 4711 +MODE_1 = 0755 +MODE = ${MODE_${INSTALL_UDEV_RULES}} + + all: brightnessctl brightnessctl.1 install: all ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} |