X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=Makefile;h=48d3b873b75a87df6219b8c18fa5c301e77a3a21;hp=d5165a645e60efe593d156c1342cc6c424ff04ea;hb=89048d5b9f63b1fbc3d1520221500ed139dbc28b;hpb=5efd4ba3c37bd4b0c09889514df31d4788047aec diff --git a/Makefile b/Makefile index d5165a6..48d3b87 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: all CC?= /usr/bin/cc -CFLAGS+= -Wall -Wextra -Werror -std=c89 +CFLAGS= -Wall -Wextra -Werror -std=c89 DEBUG= 1 .ifdef DEBUG @@ -45,11 +45,13 @@ CONFDIR= conf POLICYDIR= $(CONFDIR)/sysbus-policy ISPECTDIR= $(CONFDIR)/introspect-xml SERVICEFDIR= $(CONFDIR)/service-files +POLKITDIR= $(CONFDIR)/polkit-policy INTFDIR= $(SRCDIR)/interfaces DBUS_POLICYDIR= $(SYSCONFDIR)/dbus-1/system.d DBUS_CONFIGDIR= $(PREFIX)/share/dbus-1/system-services +POLKIT_POLICYDIR= $(PREFIX)/share/polkit-1/actions INVOKE_GENFILE_SCRIPT= \ ./scripts/gen-gdbus-interfaces.sh @@ -95,6 +97,7 @@ _install_conf: _generate_servicefiles ${INSTALL_DATA} $(POLICYDIR)/*-dbus.conf $(DESTDIR)$(DBUS_POLICYDIR)/ ${INSTALL_DATA} $(SERVICEFDIR)/*.service $(DESTDIR)$(DBUS_CONFIGDIR)/ ${INSTALL_DATA} $(CONFDIR)/systemd_compat.conf $(DESTDIR)$(SYSCONFDIR)/ + ${INSTALL_DATA} $(POLKITDIR)/*.policy $(DESTDIR)$(POLKIT_POLICYDIR)/ _install_interface_binaries: $(LINKHN) ${INSTALL_PROGRAM_DIR} $(DESTDIR)$(BINDIR)