diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-04-05 04:39:29 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-04-05 04:39:29 +0000 |
commit | 72041e6990fc54e88209d9fdd4ad15e5506a3658 (patch) | |
tree | 17afe72068b50bb87e11e03c3a1e8bd543db4630 /image/Makefile.nmake | |
parent | 5021f1fc3344f91ee26c928d5453d65cdd845a8b (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3258 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'image/Makefile.nmake')
-rw-r--r-- | image/Makefile.nmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake new file mode 100644 index 0000000000..f8984b26b7 --- /dev/null +++ b/image/Makefile.nmake @@ -0,0 +1,26 @@ +# +# $Id: Makefile.nmake,v 1.1 2001/04/05 04:39:26 gram Exp $ +# + +include ..\config.nmake + +ALL_RC=ethereal.rc tethereal.rc editcap.rc +all : $(ALL_RC) + +ethereal.rc : ethereal.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < ethereal.rc.in > $@ + +tethereal.rc : tethereal.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < tethereal.rc.in > $@ + +editcap.rc : editcap.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < editcap.rc.in > $@ + +clean : + rm -f $(ALL_RC) |