use ExtUtils::MakeMaker; $|=1; print < "; $ints = ; push @DIR, "Irman" if $ints & 1; push @DIR, "Lirc" if $ints & 2; WriteMakefile( 'dist' => { PREOP => 'pod2text RCU.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', COMPRESS => 'gzip -9v', SUFFIX => '.gz', }, 'NAME' => 'RCU', 'VERSION_FROM' => 'RCU.pm', 'LIBS' => [''], 'DEFINE' => '', 'INC' => '', DIR => \@DIR, );