summaryrefslogtreecommitdiff
path: root/yhttpd/scripts/buildnr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'yhttpd/scripts/buildnr.pl')
-rwxr-xr-xyhttpd/scripts/buildnr.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/yhttpd/scripts/buildnr.pl b/yhttpd/scripts/buildnr.pl
deleted file mode 100755
index edfffd6..0000000
--- a/yhttpd/scripts/buildnr.pl
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-# The yhttpd Project (2003)
-#
-# This script increases the BUILNR of msgs,h each time the yhttpd
-# 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;