diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-06-22 00:48:47 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-06-22 00:48:47 -0400 |
| commit | 47fc6b6e39f37472f05868fbfe79758e949e8030 (patch) | |
| tree | e1f36cf73ac85a49a98476a22964fb4f73400989 /src | |
| parent | b7f4399294fad3d70029526cd7334c50d8673214 (diff) | |
| download | plymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.tar.gz plymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.tar.xz plymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.zip | |
hide /var/log behind a define
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.am | 1 | ||||
| -rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8a0ffbf..8b6ca5b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,6 +3,7 @@ INCLUDES = -I$(top_srcdir) \ -I$(srcdir)/libply \ -I$(srcdir)/libplybootsplash \ -I$(srcdir) \ + -DPLYMOUTH_LOG_DIRECTORY=\"$(localstatedir)/log\" \ -DPLYMOUTH_LOGO_FILE=\"$(logofile)\" plymouthdbindir = $(libexecdir)/plymouth @@ -120,7 +120,7 @@ on_system_initialized (state_t *state) { ply_trace ("system now initialized, opening boot.log"); ply_terminal_session_open_log (state->session, - "/var/log/boot.log"); + PLYMOUTH_LOG_DIRECTORY "/boot.log"); } static void |
