aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-04-05 04:39:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-04-05 04:39:29 +0000
commita8d864bca78bfaeb4a27649c16408064ed7f1068 (patch)
tree17afe72068b50bb87e11e03c3a1e8bd543db4630 /wiretap
parentc4979d817a4e6960a6a137857b467a10622d9fe0 (diff)
Use sed in the Win32 build to place the version in various files.
We us $(VERSION), defined in the top-level config.nmake, to replace @VERSION@ in various files. $(RC_VERSION) and $(WTAP_VERSION) are similarly used. svn path=/trunk/; revision=3258
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.nmake4
-rw-r--r--wiretap/config.h.win324
2 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake
index 7eb25c52b5..d773464aca 100644
--- a/wiretap/Makefile.nmake
+++ b/wiretap/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.nmake,v 1.17 2001/03/23 02:05:29 gram Exp $
+# $Id: Makefile.nmake,v 1.18 2001/04/05 04:39:29 gram Exp $
#
include ..\config.nmake
@@ -65,7 +65,7 @@ ascend-scanner.c : ascend-scanner.l
config.h : config.h.win32
- copy config.h.win32 $@
+ sed -e s/@VERSION@/$(WTAP_VERSION)/ < config.h.win32 > $@
clean :
rm -f $(OBJECTS) ascend-grammar.c ascend-grammar.h ascend-scanner.c \
diff --git a/wiretap/config.h.win32 b/wiretap/config.h.win32
index d338c13d37..a5fc0684b3 100644
--- a/wiretap/config.h.win32
+++ b/wiretap/config.h.win32
@@ -1,4 +1,4 @@
-/* $Id: config.h.win32,v 1.6 2000/11/22 07:20:27 guy Exp $ */
+/* $Id: config.h.win32,v 1.7 2001/04/05 04:39:29 gram Exp $ */
/* config.h.win32 Generated manually. :-) */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -42,7 +42,7 @@
#define PACKAGE "libwtap.a"
/* Version number of package */
-#define VERSION "0.0.0"
+#define VERSION "@VERSION@"
#define HAVE_WINSOCK_H 1
#define HAVE_IO_H 1