diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-24 19:36:46 +0100 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-24 19:37:56 +0100 |
commit | 9eac7aacc8bace961cda535377b8f32272085096 (patch) | |
tree | 118b41705028052f7780e2ab8ddb2058063a874c | |
parent | 4db77aeffc4cd0e969c6379e621a6931027976f7 (diff) |
Prompt for and set $exclusions_file in packinit
-rwxr-xr-x | bin/packinit.SH | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/packinit.SH b/bin/packinit.SH index a3e8f25..58393da 100755 --- a/bin/packinit.SH +++ b/bin/packinit.SH @@ -191,6 +191,18 @@ EOM $shext = &myread('Additional file extensions to identify SH files?', $dflt); $shext = '' if $shext eq 'none'; +$dflt = 'none'; +print <<'EOM'; + +If your package sources contains symbols that metaconfig will mistake for the +names of symbols defined by its units, you can list them in an exclusions file. +(See the documentation of "mconfig -X".) What file would you like metaconfig to +consult for those symbols? Say "none" if you don't need to exclude any symbols. + +EOM +$exclusions_file = &myread('File to consult for excluded symbols?', $dflt); +$exclusions_file = '' if $exclusions_file eq 'none'; + $dflt = $copyright eq ' ' ? 'n' : 'y'; print <<'EOM'; @@ -426,6 +438,8 @@ changercs=$changercs : File lookup extensions cext='$cext' shext='$shext' +: File to consult for symbol exclusions +exclusions_file='$exclusions_file' : Mailing list variables list_users='$list_users' list_name='$list_name' |