summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidnetsnmp/perl/make-perl-makefiles
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/application/spidnetsnmp/perl/make-perl-makefiles')
-rw-r--r--cleopatre/application/spidnetsnmp/perl/make-perl-makefiles23
1 files changed, 0 insertions, 23 deletions
diff --git a/cleopatre/application/spidnetsnmp/perl/make-perl-makefiles b/cleopatre/application/spidnetsnmp/perl/make-perl-makefiles
deleted file mode 100644
index 8a9648720b..0000000000
--- a/cleopatre/application/spidnetsnmp/perl/make-perl-makefiles
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/perl
-
-
-open(I, "Makefile.subs.pl");
-@stuff = <I>;
-
-foreach my $i (@ARGV) {
- print "updating $i\n";
- open(I, $i);
- open(O,">$i.new");
- while(<I>) {
- # start replacement here
- last if /common subroutines -- DO NOT EDIT/;
- print O;
- }
- print O "# common subroutines -- DO NOT EDIT.\n";
- print O "# They are imported from the Makefile.subs.pl file\n";
- print O @stuff;
- close(I);
- close(O);
- rename($i,"$i.bak");
- rename("$i.new", "$i");
-}