ispman configure,1.9,1.10
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32463
Modified Files:
configure
Log Message:
adjustments for new Makefile
Index: configure
===================================================================
RCS file: /cvsroot/ispman/ispman/configure,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- configure 30 May 2004 23:35:29 -0000 1.9
+++ configure 1 Aug 2004 21:20:35 -0000 1.10
@@ -36,40 +36,15 @@
open F, "> makedefs";
my $seen_ispman_install_path = 0;
for (@lines) {
- if (/ISPMAN_INSTALL_PATH/) {
+ if (/PREFIX/) {
$seen_ispman_install_path = 1;
- print F "ISPMAN_INSTALL_PATH=$prefix\n";
+ print F "PREFIX=$prefix\n";
}
else {
print F "$_";
}
}
-print F "ISPMAN_INSTALL_PATH=$prefix\n" unless $seen_ispman_install_path;
-close("F");
-
-unless ( -e "build" ) {
- print "Creating a build directory for you. build/\n";
- system("mkdir build");
-}
-mkpath("build/htdocs/admin");
-
-#print "Copying bin to build/bin\n";
-#system("cp -rf bin build/");
-#print "Copying lib to build/lib\n";
-#system("cp -rf lib build/");
-#print "Copying ispman-web/cgi-bin to build/cgi-bin\n";
-#system("cp -rf ispman-web/cgi-bin build/");
-#print "Copying ispman-web/htdocs to build/htdocs\n";
-#system("cp -rf ispman-web/htdocs build/");
-
-#print "Substituting install prefix in files \n";
-#system( "find ./build -type f | xargs perl -pi -e 's!%%installDir%%!$prefix!g'" );
-#system( "perl -pi -e 's!/opt/ispman/lib!$prefix/lib!g' build/cgi-bin/*.cgi");
-
-mkpath("tmp/conf");
-
-open F, ">>tmp/conf/ispman.conf";
-print F "\$ISPMan::Config->{'installDir'}='$prefix';\n1;\n";
+print F "PREFIX=$prefix\n" unless $seen_ispman_install_path;
close("F");
print "Now please run make\n";
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com