[zaptel-commits] tzafrir: branch 1.2 r2758 - /branches/1.2/xpp/utils/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Jul 19 04:05:52 CDT 2007


Author: tzafrir
Date: Thu Jul 19 04:05:51 2007
New Revision: 2758

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

Closes: #10223 (Xorcom changeset:4379)

Modified:
    branches/1.2/xpp/utils/Makefile

Modified: branches/1.2/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/Makefile?view=diff&rev=2758&r1=2757&r2=2758
==============================================================================
--- branches/1.2/xpp/utils/Makefile (original)
+++ branches/1.2/xpp/utils/Makefile Thu Jul 19 04:05:51 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 zaptel-commits mailing list