summaryrefslogtreecommitdiff
path: root/0.8/scripts/buildnr.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-21 16:02:41 +0000
committerPaul Buetow <paul@buetow.org>2010-11-21 16:02:41 +0000
commitc155ee9e0f133aafff70984f5b09c45efc62ca5a (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /0.8/scripts/buildnr.pl
parent19f9940dc968afae01b54377ee23ec59069c9646 (diff)
moving stuff to branches
Diffstat (limited to '0.8/scripts/buildnr.pl')
-rwxr-xr-x0.8/scripts/buildnr.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/0.8/scripts/buildnr.pl b/0.8/scripts/buildnr.pl
deleted file mode 100755
index ee3d3e2..0000000
--- a/0.8/scripts/buildnr.pl
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-# The yChat Project (2003)
-#
-# This script increases the BUILNR of msgs,h each time the yChat
-# gets recompiled!
-
-use strict;
-
-open MSGS, "src/msgs.h";
-my @msgs = <MSGS>;
-close MSGS;
-
-foreach (@msgs)
-{
- if ( /define BUILDNR/ )
- {
- s/(BUILDNR )(.+)$/$1.($2+1)/e;
- print;
- next;
- }
-}
-
-open MSGS, ">src/msgs.h";
-print MSGS @msgs;
-close MSGS;