Don't fail make install if there're no perl modules in source dir.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2127 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
darthgandalf
2010-09-10 20:34:24 +00:00
parent 70ae4bab6f
commit ced8aa82ed
+1 -1
View File
@@ -149,7 +149,7 @@ endif
modperl_install: create_install_dir install_metadirs
for i in $(srcdir)/*.pm; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
test -r $$i && $(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); true; \
done
for a in $(srcdir)/*; do \
if [ -d $$a ] && [ -f $${a}.pm ]; then \