From ced8aa82ed113b07575342f1caac2520f2504ea3 Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Fri, 10 Sep 2010 20:34:24 +0000 Subject: [PATCH] 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 --- modules/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Makefile.in b/modules/Makefile.in index 3ed327e9..b14ee243 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -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 \