summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cli/Makefile.am24
-rw-r--r--src/cli/abrt-handle-crashdump.c (renamed from src/daemon/abrt-handle-crashdump.c)0
-rw-r--r--src/daemon/Makefile.am21
3 files changed, 23 insertions, 22 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index d6cd5ef2..18ff434e 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -1,4 +1,6 @@
-bin_PROGRAMS = abrt-cli
+bin_PROGRAMS = \
+ abrt-handle-crashdump \
+ abrt-cli
abrt_cli_SOURCES = \
cli.c \
@@ -19,6 +21,26 @@ abrt_cli_LDADD = \
../lib/libabrt_dbus.la \
$(GLIB_LIBS)
+abrt_handle_crashdump_SOURCES = \
+ abrt-handle-crashdump.c
+abrt_handle_crashdump_CPPFLAGS = \
+ -I$(srcdir)/../include/report -I$(srcdir)/../include \
+ -I$(srcdir)/../lib \
+ -DBIN_DIR=\"$(bindir)\" \
+ -DVAR_RUN=\"$(VAR_RUN)\" \
+ -DCONF_DIR=\"$(CONF_DIR)\" \
+ -DLOCALSTATEDIR='"$(localstatedir)"' \
+ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
+ -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
+ -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
+ -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
+ -DLIBEXEC_DIR=\"$(LIBEXEC_DIR)\" \
+ $(GLIB_CFLAGS) \
+ -D_GNU_SOURCE \
+ -Wall -Wwrite-strings -Werror
+abrt_handle_crashdump_LDADD = \
+ ../lib/libreport.la
+
man_MANS = abrt-cli.1
EXTRA_DIST = $(man_MANS)
diff --git a/src/daemon/abrt-handle-crashdump.c b/src/cli/abrt-handle-crashdump.c
index d04e4fef..d04e4fef 100644
--- a/src/daemon/abrt-handle-crashdump.c
+++ b/src/cli/abrt-handle-crashdump.c
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 63d1d78a..6fb107cc 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -2,7 +2,6 @@ bin_SCRIPTS = \
abrt-handle-upload
bin_PROGRAMS = \
- abrt-handle-crashdump \
abrt-action-save-package-data
sbin_PROGRAMS = \
@@ -52,26 +51,6 @@ abrt_server_CPPFLAGS = \
abrt_server_LDADD = \
../lib/libreport.la
-abrt_handle_crashdump_SOURCES = \
- abrt-handle-crashdump.c
-abrt_handle_crashdump_CPPFLAGS = \
- -I$(srcdir)/../include/report -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -DBIN_DIR=\"$(bindir)\" \
- -DVAR_RUN=\"$(VAR_RUN)\" \
- -DCONF_DIR=\"$(CONF_DIR)\" \
- -DLOCALSTATEDIR='"$(localstatedir)"' \
- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
- -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
- -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
- -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
- -DLIBEXEC_DIR=\"$(LIBEXEC_DIR)\" \
- $(GLIB_CFLAGS) \
- -D_GNU_SOURCE \
- -Wall -Wwrite-strings -Werror
-abrt_handle_crashdump_LDADD = \
- ../lib/libreport.la
-
abrt_action_save_package_data_SOURCES = \
rpm.h rpm.c \
abrt-action-save-package-data.c