mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-28 11:19:11 -07:00
84aadd4e81
ast_loggrabber gathers log files from customizable search patterns,
optionally converts POSIX timestamps to a readable format and
tarballs the results.
Also a few tweaks were made to ast_coredumper.
Change-Id: I8bfe1468ada24c1344ce4abab7b002a59a659495
(cherry picked from commit c709152878)
32 lines
866 B
Makefile
32 lines
866 B
Makefile
#
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
#
|
|
# Contrib scripts
|
|
#
|
|
# Copyright (C) 1999-2014, Digium, Inc.
|
|
#
|
|
# This program is free software, distributed under the terms of
|
|
# the GNU General Public License
|
|
#
|
|
|
|
ASTTOPDIR?=..
|
|
-include $(ASTTOPDIR)/menuselect.makeopts
|
|
|
|
.PHONY: all clean install uninstall
|
|
|
|
all:
|
|
clean:
|
|
|
|
include $(ASTTOPDIR)/Makefile.rules
|
|
|
|
install:
|
|
$(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/scripts"
|
|
$(INSTALL) -m 755 scripts/ast_loggrabber "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
|
|
$(INSTALL) -m 755 scripts/ast_coredumper "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
|
|
$(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
|
|
|
|
uninstall:
|
|
-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
|
|
-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
|
|
-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
|