Subject: | please parameterize the $IDIR in the make process |
For packaging perlindex it would be really nice to be able to customize the default $IDIR value within the make process.
A patch that allows that through the INDEXDIR variable when running make is attached.
Regards,
Florian
diff -r perlindex-1.301/perlindex.PL perlindex-1.301-flo1/perlindex.PL
92a93,97
>
> $index_dir = $Config{'man1direxp'};
> $index_dir =~ s:/[^/]*$::;
> $index_dir = $ENV{'INDEXDIR'} if $ENV{'INDEXDIR'};
>
97a103
> \$IDIR = \'$index_dir\';
142,144d147
< # directory for the index
< $IDIR = $man1direxp;
< $IDIR =~ s:/[^/]*$::;