aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/check.py2
-rwxr-xr-xbuild/gen_def.py2
-rw-r--r--build/serf.pc.in2
3 files changed, 4 insertions, 2 deletions
diff --git a/build/check.py b/build/check.py
index 7dfcda9a499d..f440e45c8405 100755
--- a/build/check.py
+++ b/build/check.py
@@ -48,9 +48,11 @@ if __name__ == '__main__':
subprocess.check_call([SERF_RESPONSE_EXE, case])
except subprocess.CalledProcessError:
print "ERROR: test case %s failed" % (case)
+ sys.exit(1)
print "== Running the unit tests =="
try:
subprocess.check_call(TEST_ALL_EXE)
except subprocess.CalledProcessError:
print "ERROR: test(s) failed in test_all"
+ sys.exit(1)
diff --git a/build/gen_def.py b/build/gen_def.py
index d10d8c88d55a..ed139e681333 100755
--- a/build/gen_def.py
+++ b/build/gen_def.py
@@ -38,7 +38,7 @@ import sys
# a more complicated example might be:
# const type * const * serf_func3(...
#
-_funcs = re.compile(r'^(?:(?:\w+|\*) )+\*?(serf_[a-z][a-z_0-9]*)\(',
+_funcs = re.compile(r'^(?:(?:\w+|\*) )+\*?(serf_[a-z][a-zA-Z_0-9]*)\(',
re.MULTILINE)
# This regex parses the bucket type definitions which look like:
diff --git a/build/serf.pc.in b/build/serf.pc.in
index 8e49c8a63d21..071a6faf9ab2 100644
--- a/build/serf.pc.in
+++ b/build/serf.pc.in
@@ -1,7 +1,7 @@
SERF_MAJOR_VERSION=@MAJOR@
prefix=@PREFIX@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@LIBDIR@
includedir=${prefix}/include/@INCLUDE_SUBDIR@
Name: serf