ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/make-install-make.sh
Revision: 1.2
Committed: Sat Apr 2 11:26:06 2011 UTC (13 years, 6 months ago) by root
Content type: application/x-sh
Branch: MAIN
CVS Tags: rel-1_3, rel-1_22, rel-1_31
Changes since 1.1: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #! sh
2
3 "$MAKE" || exit
4
5 "$PERL_PREFIX"/bin/SP-patch-postinstall
6
7 if find blib/arch/auto -type f | grep -q -v .exists; then
8 echo Probably an XS module, rebuilding perl
9 if "$MAKE" all perl; then
10 mv perl "$PERL_PREFIX"/bin/perl~ \
11 && rm -f "$PERL_PREFIX"/bin/perl \
12 && mv "$PERL_PREFIX"/bin/perl~ "$PERL_PREFIX"/bin/perl
13 "$MAKE" -f Makefile.aperl map_clean
14 else
15 "$MAKE" -f Makefile.aperl map_clean
16 exit 1
17 fi
18 fi
19
20 "$MAKE" install UNINST=1
21