--- RCU/Makefile.PL 2005/11/06 17:17:37 1.1 +++ RCU/Makefile.PL 2005/11/06 17:24:32 1.2 @@ -4,28 +4,29 @@ print < "; $ints = ; +$ints = prompt "which interfaces to build", 2; push @DIR, "Irman" if $ints & 1; push @DIR, "Lirc" if $ints & 2; WriteMakefile( - 'dist' => { + 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' => '', + NAME => 'RCU', + VERSION_FROM=> 'RCU.pm', DIR => \@DIR, );