From 5f9e02f2f237393c4be0ccddbca008087e1c2efe Mon Sep 17 00:00:00 2001 From: tzafrir Date: Thu, 19 Jul 2007 09:05:51 +0000 Subject: * Generate list of Zaptel Modules directories automatically. * Evaluate PERLLIBDIR only once. Closes: #10223 (Xorcom changeset:4379) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2758 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/utils/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xpp') diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile index 72ba74d..3fd0900 100644 --- a/xpp/utils/Makefile +++ b/xpp/utils/Makefile @@ -23,8 +23,8 @@ DATADIR = $(datadir)/zaptel 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)) -- cgit v1.2.3