mirror of https://github.com/asterisk/asterisk
This change ensures refcounter.py is installed to a place where it can be found by the Asterisk testsuite if REF_DEBUG is enabled. ASTERISK-24432 #close Reported by: Corey Farrell Review: https://reviewboard.asterisk.org/r/4094/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@426830 65c4cc65-6c06-0410-ace0-fbb531ad65f3changes/76/76/1
parent
f30c13bbed
commit
04a07d8b18
@ -0,0 +1,29 @@
|
||||
#
|
||||
# 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:
|
||||
if [ -n "$(findstring REF_DEBUG,$(MENUSELECT_CFLAGS))" ]; then \
|
||||
$(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/scripts"; \
|
||||
$(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"; \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
|
Loading…
Reference in new issue