X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=Makefile;h=91eceafd440de02ca95f273e7b87efdb02b2f1c8;hp=bcfab914bda24e6ba1b0688b74b215cdd8fc8535;hb=b08f162204d49c06495911ee64486882ddbdfe7e;hpb=3d6bffb8877bb40df1095c6966985c3ccd543548 diff --git a/Makefile b/Makefile index bcfab91..91eceaf 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ CFLAGS+= -Wno-unused-variable -Wno-unused-parameter # -Wno-comment .endif PREFIX?= /usr/local -BINDIR= $(PREFIX)/libexec +BINDIR= $(PREFIX)/libexec/systemd SYSCONFDIR?= /etc INSTALL_PROGRAM= install -c -s -o root -g bin -m 555 @@ -79,7 +79,7 @@ _build_genfile_objs: _generate_genfiles _build_auth_obj $(CC) -o bin/obj/logind-gen.o $(CFLAGS) $(GLIBOF) -c $(INTFDIR)/logind/logind-gen.c _build_auth_obj: - $(CC) -o bin/obj/polkit-auth.o $(CFLAGS) $(GLIBOF) -c $(SRCDIR)/polkit-auth.c + $(CC) -o bin/obj/polkit-auth.o $(CFLAGS) $(GLIBOF) -c $(SRCDIR)/util.c _generate_genfiles: $(INVOKE_GENFILE_SCRIPT) hostnamed @@ -96,6 +96,7 @@ _install_conf: _generate_servicefiles ${INSTALL_DATA_DIR} $(DESTDIR)$(DBUS_POLICYDIR) ${INSTALL_DATA_DIR} $(DESTDIR)$(DBUS_CONFIGDIR) ${INSTALL_DATA_DIR} $(DESTDIR)$(POLKIT_POLICYDIR) + ${INSTALL_DATA} $(CONFDIR)/machine-info $(DESTDIR)$(SYSCONFDIR)/ ${INSTALL_DATA} $(POLICYDIR)/*-dbus.conf $(DESTDIR)$(DBUS_POLICYDIR)/ ${INSTALL_DATA} $(SERVICEFDIR)/*.service $(DESTDIR)$(DBUS_CONFIGDIR)/ ${INSTALL_DATA} $(POLKITDIR)/*.policy $(DESTDIR)$(POLKIT_POLICYDIR)/