2 # This is the script I use to keep the Porting/ stuff up-to-date
3 # with the latest Configure.
4 # Andy Dougherty July 14, 1998
6 rm -f config.sh Policy.sh
7 sh ./Configure -Dprefix=/opt/perl \
9 -Dcf_email='yourname@yourhost.yourplace.com' \
10 -Dperladmin='yourname@yourhost.yourplace.com' \
11 -Dmydomain='.yourplace.com' \
12 -Dmyhostname='yourhost' \
16 chmod u+w Porting Porting/Glossary Porting/config*
17 cp config.sh Porting/config.sh
19 cat <<'EOCP' > Porting/config_H
20 /* This file (config_H) is a sample config.h file. If you are unable
21 to successfully run Configure, copy this file to config.h and
22 edit it to suit your system.
25 cat config.h >> Porting/config_H
27 if newer Configure Porting/Glossary; then
30 perl mkglossary > $pwd/Porting/Glossary
33 # The standard 'dist' units contain some strings that upset
34 # pod2man. This patch silences pod2man's warnings.
35 patch < $pwd/U/Glossary.patch
36 if test -f Glossary.rej; then
37 echo 'Check possible failed patch to Porting/Glossary!'
43 if test -f makeaperl -a -f pod/Makefile; then
44 rm -f cflags config.h cppstdin makeaperl makedepend makedir Makefile myconfig pod/Makefile Policy.sh writemain x2p/cflags x2p/Makefile Obsolete Wanted