hide /var/log behind a define

This commit is contained in:
Ray Strode 2008-06-22 00:48:47 -04:00
parent b7f4399294
commit 47fc6b6e39
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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