diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 09:05:51 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 09:05:51 +0000 |
commit | 5f9e02f2f237393c4be0ccddbca008087e1c2efe (patch) | |
tree | de72d38a224afcdfb6e722d69cc34c90697c485d /xpp | |
parent | 1653b9dd29b780476545f807d8ae52efcae02048 (diff) |
* 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
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/utils/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |