3 # Synopsis: upd_jpman (JMCVSROOT)
5 # リポジトリのルートを指定して実行すると、FreeBSD jpman の
6 # アーカイブのルート (man[1-8] が並んでいるディレクトリ)
7 # から、最新版をコピーするシェルスクリプトを stdout に吐く。
16 'man1/g77.1' => 'man1/f77.1',
17 'man1/flex.1' => 'man1/lex.1'
20 unless ( -d $ARGV[0] ) {die "$ARGV[0] does not exist\n"};
21 open (FD, "cat $ARGV[0]/manual/*/translation_list |");
27 $src = "man$l[5]/$l[4].$l[5]";
28 if ($rename_table{$src} ne undef) {$src = $rename_table{$src}};
31 $dst = "$ARGV[0]/manual/$l[1]/contrib/man$l[5]/$l[4].$l[5]";
33 print "cp -f $src $dst\n";