--- trunk/initscripts/systemd/Makefile 2013/10/15 08:53:10 2211 +++ trunk/initscripts/systemd/Makefile 2013/10/15 08:54:48 2212 @@ -4,8 +4,8 @@ include ../Makefile.inc -SYSTEMDDIR = /usr/lib/systemd -SYSTEMDUNITSDIR = $(SYSTEMDDIR)/system +SYSTEMDDIR = $(shell $(PKGCONFIG) pkg-config systemd --variable=systemdutildir) +SYSTEMDUNITSDIR = $(shell $(PKGCONFIG) systemd --variable=systemdsystemunitdir) install_systemd: general # install system-units