mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:23:32 +03:00
some more makefile changes.
This commit is contained in:
parent
601062455c
commit
8d0c77403c
3 changed files with 8 additions and 7 deletions
|
|
@ -20,7 +20,10 @@
|
|||
# *
|
||||
# * $Id$
|
||||
# ***************************************************************************
|
||||
# fetch libcurl version number from input file and write them to STDOUT
|
||||
# awk script which fetches libcurl version number and string from input file
|
||||
# and writes them to STDOUT. Here you can get an awk version for Win32:
|
||||
# http://www.gknw.com/development/prgtools/awk.zip
|
||||
#
|
||||
BEGIN {
|
||||
while ((getline < ARGV[1]) > 0) {
|
||||
if (match ($0, /^#define LIBCURL_VERSION "[^"]+"/)) {
|
||||
|
|
@ -37,8 +40,6 @@ BEGIN {
|
|||
}
|
||||
}
|
||||
libcurl_ver = libcurl_ver_major "," libcurl_ver_minor "," libcurl_ver_patch;
|
||||
|
||||
print "LIBCURL_VERSION = " libcurl_ver "";
|
||||
print "LIBCURL_VERSION_STR = " libcurl_ver_str "";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue