summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-27 21:57:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-27 21:57:04 +0000
commita6c3b02027478c56a1220e2f5986519e2f007461 (patch)
treeb4e310aa72a9d9da5066ab11b5d955e51ca181a7 /installperl
parenteb9bdbdff170fbef354c89f26311bc9e4a0e7245 (diff)
downloadperl-a6c3b02027478c56a1220e2f5986519e2f007461.tar.gz
Don't install demo files with perl
p4raw-id: //depot/perl@25000
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl2
1 files changed, 2 insertions, 0 deletions
diff --git a/installperl b/installperl
index a707954a1a..04d778e7a9 100755
--- a/installperl
+++ b/installperl
@@ -812,6 +812,8 @@ sub installlib {
return if $name =~ /^makefile$/i;
# ignore the test extensions
return if $dir =~ m{ext/XS/(?:APItest|Typemap)/};
+ # ignore the demo files
+ return if $dir =~ /\bdemos?\b/;
# ignore READMEs, MANIFESTs, INSTALL docs, META.ymls and change logs.
# Changes.e2x and README.e2x are needed by enc2xs.