From fb2f5ddb7eb9396936e6712ab39a3dca08ec7f1e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 25 May 2010 21:46:23 -0700 Subject: [PATCH] perl-module: Copy perl-module files if missing as well as if changed. I don't know why the behavior here changed, because I don't see any changes that would cause the problem, but at least the new version makes equal sense. --- perl-module/automake.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-module/automake.mk b/perl-module/automake.mk index c442d04e..b689fd19 100644 --- a/perl-module/automake.mk +++ b/perl-module/automake.mk @@ -40,7 +40,8 @@ perl_module_tarball: for f in $(module_sources); do \ destdir=`dirname $$f` ;\ mkdir -p $$destdir ;\ - if test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \ + if test ! -e "$(top_builddir)/$$f" || \ + test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \ cp $(top_srcdir)/$$f $$destdir ; \ echo cp $(top_srcdir)/$$f $$destdir ; \ fi ; \ -- 2.30.2