chiark / gitweb /
git: ignore Makefile
[elogind.git] / Makefile.am
index 8b481a6be940bed0c49fa2dcdce5ae4321d2f681..3fc221c7f0549941c657212851048d2e3c10ac2c 100644 (file)
 
 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