summaryrefslogtreecommitdiff
path: root/ycurses/scripts/buildnr.pl
diff options
context:
space:
mode:
authorPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-12-15 11:49:02 +0100
committerPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-12-15 11:49:02 +0100
commit3a96ab7e91145b367d05e98533b5f426f762f83f (patch)
treeac7758a706066e14b785ab6e5f7071a54baa856b /ycurses/scripts/buildnr.pl
parent332d7b2107833018b3ef67b64ffe121bff1ef4fb (diff)
add packagespackages
Diffstat (limited to 'ycurses/scripts/buildnr.pl')
-rwxr-xr-xycurses/scripts/buildnr.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/ycurses/scripts/buildnr.pl b/ycurses/scripts/buildnr.pl
deleted file mode 100755
index 7867787..0000000
--- a/ycurses/scripts/buildnr.pl
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-# The ycurses Project (2003)
-#
-# This script increases the BUILNR of src/msgs.h each time the ycurses
-# 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;