summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpp')
-rw-r--r--xpp/utils/Makefile4
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))