diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-13 01:07:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-13 01:07:02 +0100 |
commit | 036643a247c659db8e1b3df1778d51553a816ec9 (patch) | |
tree | 1ffe6bdfec708fec46adb58c531bb2455f399cee /Makefile.am | |
parent | 65d2ebdc3408c81a947de8712b37b9398d955465 (diff) |
config: implement search path logic
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8b481a6be9..3fc221c7f0 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 |