Makefile: Add support for PARALLEL categories

This commit is contained in:
Raul Marin
2017-11-23 09:49:25 +01:00
committed by Raúl Marín
parent d651a401d7
commit ddd2b4e3bf
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -6,3 +6,6 @@ RELEASE_VERSION ?= $(EXTVERSION)
SED = sed
PIP = pip
NOSETESTS = nosetests
AWK = awk
PG_CONFIG = pg_config
PG_PARALLEL := $(shell $(PG_CONFIG) --version | ($(AWK) '{$$2*=1000; if ($$2 >= 9600) print 1; else print 0;}' 2> /dev/null || echo 0))