X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=3fc221c7f0549941c657212851048d2e3c10ac2c;hb=5021be21bfc2a3a23a09d60d98e2dcdd1cf504fe;hp=8ac2c2da4cb154b8f4d853eefa007591b0aa3390;hpb=47be870bd83fb3719dffc3ee9348a409ab762a14;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 8ac2c2da4..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 @@ -110,3 +116,8 @@ systemadm_SOURCES = \ systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS) + +CLEANFILES = \ + systemd-interfaces.c \ + systemctl.c \ + systemadm.c