diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-21 17:25:32 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-21 17:25:32 +0000 |
commit | 86246e685195b4383a7abeb516c72dbfd29a3253 (patch) | |
tree | 8ea5842d2ddbd486661eba8c3e8dd9e010bcc2e5 | |
parent | d11a60de0d66709d2b5a3d04cd09705aa531ecae (diff) |
convert AUTHORS file to a shorter version (without the tasks done)
for the about dialog
svn path=/trunk/; revision=10944
-rw-r--r-- | Makefile.nmake | 15 | ||||
-rwxr-xr-x | make-authors-short.pl | 21 |
2 files changed, 32 insertions, 4 deletions
diff --git a/Makefile.nmake b/Makefile.nmake index bf1d94a217..acc81b1551 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -1,7 +1,7 @@ ## Makefile for building ethereal.exe with Microsoft C and nmake ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake # -# $Id: Makefile.nmake,v 1.419 2004/05/14 16:23:38 ulfl Exp $ +# $Id: Makefile.nmake,v 1.420 2004/05/21 17:25:32 ulfl Exp $ include config.nmake include <win32.mak> @@ -221,6 +221,13 @@ cvsversion.h: $(PERL) make-version.pl # +# Build the short version of the authors file for the about dialog +# +AUTHORS-SHORT: AUTHORS make-authors-short.pl + $(PERL) make-authors-short.pl < AUTHORS > AUTHORS-SHORT + + +# # The header files listed here are built from x11-fields using Perl; # we declare a dependency here so that they get built. # @@ -276,7 +283,7 @@ clean: gtk2_distclean $(DISSECTOR_OBJECTS) $(DISSECTOR_SUPPORT_OBJECTS) dissectors.lib\ editcap.obj mergecap.obj text2pcap.obj getopt.obj\ text2pcap-scanner.obj text2pcap-scanner.c rdps.obj \ - rdps.pdb config.h ps.c \ + rdps.pdb config.h ps.c AUTHORS-SHORT \ rdps.exe rdps.ilk dftest.obj dftest.exe randpkt.obj randpkt.ext \ $(RESOURCES) cd wiretap @@ -339,13 +346,13 @@ wiretap:: $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake cd .. -gtk:: help config.h cvsversion.h +gtk:: help config.h cvsversion.h AUTHORS-SHORT cd gtk $(MAKE) /$(MAKEFLAGS) /f Makefile.nmake GTK_CFLAGS="$(GTK1_CFLAGS)" GTK_LIBS="$(GTK1_LIBS)" libui.lib cd .. # copy all required files to gtk2.tmp (but only when newer than existing) and compile in that dir -gtk2:: help config.h cvsversion.h +gtk2:: help config.h cvsversion.h AUTHORS-SHORT if not exist gtk2.tmp mkdir gtk2.tmp cd gtk cp --update --preserve Makefile.* *.c *.h ..\gtk2.tmp diff --git a/make-authors-short.pl b/make-authors-short.pl new file mode 100755 index 0000000000..b4a47c3f8a --- /dev/null +++ b/make-authors-short.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl -w + +# Remove tasks from individual author entries from AUTHORS file +# for use in the about dialog. + +use strict; + +my $subinfo=0; + +while (<>) { + if (/(.*){/) { + $subinfo = 1; + print "$1\n"; + } elsif (/}/) { + $subinfo = 0; + } elsif ($subinfo == 1) { + next; + } else { + print; + } +} |