[svn-commits] coreyfarrell: branch 1.8 r426830 - in /branches/1.8: Makefile contrib/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 30 22:03:34 CDT 2014


Author: coreyfarrell
Date: Thu Oct 30 22:03:20 2014
New Revision: 426830

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426830
Log:
REF_DEBUG: Install refcounter.py to $(ASTDATADIR)/scripts

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/

Added:
    branches/1.8/contrib/Makefile   (with props)
Modified:
    branches/1.8/Makefile

Modified: branches/1.8/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/Makefile?view=diff&rev=426830&r1=426829&r2=426830
==============================================================================
--- branches/1.8/Makefile (original)
+++ branches/1.8/Makefile Thu Oct 30 22:03:20 2014
@@ -216,7 +216,7 @@
 _ASTCFLAGS+=$(OPTIONS)
 
 MOD_SUBDIRS:=channels pbx apps codecs formats cdr cel bridges funcs tests main res addons $(LOCAL_MOD_SUBDIRS)
-OTHER_SUBDIRS:=utils agi
+OTHER_SUBDIRS:=utils agi contrib
 SUBDIRS:=$(OTHER_SUBDIRS) $(MOD_SUBDIRS)
 SUBDIRS_INSTALL:=$(SUBDIRS:%=%-install)
 SUBDIRS_CLEAN:=$(SUBDIRS:%=%-clean)

Added: branches/1.8/contrib/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/contrib/Makefile?view=auto&rev=426830
==============================================================================
--- branches/1.8/contrib/Makefile (added)
+++ branches/1.8/contrib/Makefile Thu Oct 30 22:03:20 2014
@@ -1,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"

Propchange: branches/1.8/contrib/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: branches/1.8/contrib/Makefile
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: branches/1.8/contrib/Makefile
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list