X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=3fc221c7f0549941c657212851048d2e3c10ac2c;hp=8b481a6be940bed0c49fa2dcdce5ae4321d2f681;hb=380bc8790dd284bbf967add222fa90d117ed50ea;hpb=c1e1601e8c6cace85b19a0eebe50076e5d119688 diff --git a/Makefile.am b/Makefile.am index 8b481a6be..3fc221c7f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,9 +17,15 @@ ACLOCAL_AMFLAGS = -I m4 +pkgsysconfdir=$(sysconfdir)/systemd + AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ - -DUNIT_PATH=\"/tmp/does/not/exist\" + -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ + -DSYSTEM_DATA_UNIT_PATH=\"$(pkgdatadir)/system\" \ + -DSYSTEM_SYSVINIT_PATH=\"$(sysconfdir)/init.d\" \ + -DSESSION_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/session\" \ + -DSESSION_DATA_UNIT_PATH=\"$(pkgdatadir)/session\" sbin_PROGRAMS = \ systemd