[svn-commits] tzafrir: branch 1.4 r2759 - /branches/1.4/xpp/utils/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 19 04:16:31 CDT 2007


Author: tzafrir
Date: Thu Jul 19 04:16:30 2007
New Revision: 2759

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2759
Log:
* Generate list of Zaptel Modules directories automatically.
* Evaluate PERLLIBDIR only once.

Closes: #10223 (Xorcom changeset:4379, from 1.2 r2758)

Modified:
    branches/1.4/xpp/utils/Makefile

Modified: branches/1.4/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/xpp/utils/Makefile?view=diff&rev=2759&r1=2758&r2=2759
==============================================================================
--- branches/1.4/xpp/utils/Makefile (original)
+++ branches/1.4/xpp/utils/Makefile Thu Jul 19 04:16:30 2007
@@ -23,8 +23,8 @@
 MANDIR		= $(mandir)/man8
 HOTPLUG_USB_DIR	= /etc/hotplug/usb
 UDEV_RULES_DIR	= /etc/udev/rules.d
-PERLLIBDIR	= $(shell eval `perl -V:sitelib`; echo "$$sitelib")
-PERL_DIRS	:= Zaptel Zaptel/Hardware Zaptel/Xpp
+PERLLIBDIR	:= $(shell eval `perl -V:sitelib`; echo "$$sitelib")
+PERL_DIRS	:= $(shell cd zconf; find * -name '[A-Z]*' -type d| xargs)
 PERL_MODS_PAT	:= *.pm $(PERL_DIRS:%=%/*.pm)
 PERL_MODS	:= $(shell cd zconf; echo $(PERL_MODS_PAT))
 




More information about the svn-commits mailing list