Changeset 24263
- Timestamp:
- 11/19/08 15:40:51 (5 years ago)
- Files:
-
- 1 modified
-
lang/perl/NanoA/trunk/Makefile.PL (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/NanoA/trunk/Makefile.PL
r24250 r24263 27 27 ); 28 28 29 my $appfiles = join( 30 ' ', 31 File::Find::Rule->file()->name(qw(*.pm *.mt *.jpg *.css))->in('app'), 32 ); 33 34 my $distdir = File::Spec->catfile('dist-cgi', version()); 29 my $version = version(); 30 my $distdir = File::Spec->catfile('dist-cgi', $version); 35 31 my $postamble = <<EOM; 36 32 NANOADIR = $distdir … … 63 59 64 60 nanoaapp: 61 $(NOECHO)$(MKPATH) $(NANOADIR)/app 62 (cd app && tar cf - --no-recursion `svn ls -R`) | (cd $(NANOADIR)/app && tar xf -) 63 64 nanoa-dist: nanoa 65 65 EOM 66 66 67 67 $postamble .= <<"EOM"; 68 \$(NOECHO) tar cf - $appfiles | (cd \$(NANOADIR) && tar xf -) 68 \$(NOECHO)(cd \$(NANOADIR) && tar czf ../nanoa-$version.tar.gz .) 69 tgz2cgi/tgz2cgi.pl --title='NanoA Installer' --end='<a href="./">Next step</a><script>window.setTimeout(function () { location = "./"; }, 5000)</script>' --delete --nph < dist-cgi/nanoa-$version.tar.gz > dist-cgi/nph-nanoa-$version-installer.cgi 70 \$(NOECHO)chmod 755 dist-cgi/nph-nanoa-$version-installer.cgi 69 71 EOM 70 72 71 73 $postamble .= <<'EOM'; 74 $(NOECHO)rm -r $(NANOADIR) 75 72 76 73 77 nanoa: nanoadir nanoacgi nanoaextlib nanoaapp nanoamanifest
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)