summaryrefslogtreecommitdiff
path: root/scripts/makeyhttpd.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
commitd3982ec72b255876db00825605d1d5aae0bc313e (patch)
treea653552b7d229f7f27262980da7550d39961a102 /scripts/makeyhttpd.pl
parent796609174e5ecb35fab992969e7690186840048a (diff)
tagging ychat-0.7.7.1ychat-0.7.7.1
Diffstat (limited to 'scripts/makeyhttpd.pl')
-rw-r--r--scripts/makeyhttpd.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/makeyhttpd.pl b/scripts/makeyhttpd.pl
index 2805360..101343a 100644
--- a/scripts/makeyhttpd.pl
+++ b/scripts/makeyhttpd.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# The yChat & yhttpd Project (2004)
+# The yChat & yhttpd Project (2004, 2005)
#
# This scripts modifies the yChat sources to yhttpd sources.
@@ -17,6 +17,8 @@ my @delete = (
'src/data',
'src/irc',
'src/contrib/crypt',
+ 'src/modl.h',
+ 'src/modl.cpp',
'src/mods',
'src/mods/commands',
'src/mods/irc',
@@ -75,7 +77,7 @@ foreach (@delete) {
system("rm -Rf $_");
}
-print "Deleting CVS directories\n";
+print "\nDeleting CVS directories\n";
system("find . -name CVS | xargs rm -Rf");
print "Creating new dirs\n->";
@@ -84,14 +86,14 @@ foreach (@createdir) {
system("mkdir $_");
}
-print "Renaming config file\n";
+print "\nRenaming config file\n";
system("mv etc/ychat.conf etc/yhttpd.conf");
print "Moving html templates\n";
system("mv demo.html html/index.html");
system("mv test.cgi notfound.html style.css html");
-print "Removing marked lines of code\n ->";
+print "Removing marked lines of code\n->";
&remove_marked_lines('.');
sub remove_marked_lines {