diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-06-30 13:58:48 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-06-30 13:58:48 +0200 |
commit | d4f6958f1d4785e1fd9011a6694255f6b64d75b4 (patch) | |
tree | 76b3901afeeac3cc9c58bfbc3c08bf8d9d69da27 /src/Hooks/Makefile.am | |
parent | ffcb84545ed8b0d61707ba5787d299ae691eaf10 (diff) | |
download | abrt-d4f6958f1d4785e1fd9011a6694255f6b64d75b4.tar.gz abrt-d4f6958f1d4785e1fd9011a6694255f6b64d75b4.tar.xz abrt-d4f6958f1d4785e1fd9011a6694255f6b64d75b4.zip |
Fixed python hook to work with new DebugDump API
Diffstat (limited to 'src/Hooks/Makefile.am')
-rw-r--r-- | src/Hooks/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Hooks/Makefile.am b/src/Hooks/Makefile.am index b3ca576a..d9149419 100644 --- a/src/Hooks/Makefile.am +++ b/src/Hooks/Makefile.am @@ -8,7 +8,6 @@ hookCCpp_CPPFLAGS = -I$(srcdir)/../../inc -I$(srcdir)/../../lib/Utils \ -DVAR_RUN=\"$(VAR_RUN)\" python_PYTHON = sitecustomize.py abrt_exception_handler.py - EXTRA_DIST = abrt_exception_handler.py.in pyhookconfdir = $(CONF_DIR) @@ -16,5 +15,9 @@ dist_pyhookconf_DATA = pyhook.conf CLEANFILES := $(notdir $(wildcard *~)) $(notdir $(wildcard *\#)) $(notdir $(wildcard \.\#*)) $(notdir $(wildcard *.pyc)) +abrt_exception_handler.py: + sed s,@DEBUG_DUMP_DIR@,$(DEBUG_DUMPS_DIR),g abrt_exception_handler.py.in > abrt_exception_handler.py + +# RPM fix: we need to regenerate abrt_exception_handler.py, because it has the default ddir install-data-local: sed s,@DEBUG_DUMP_DIR@,$(DEBUG_DUMPS_DIR),g abrt_exception_handler.py.in > abrt_exception_handler.py |