COMMON = common.switches.txt common.config.txt
-GETATTRS = python ../misc/getattrs.py
-FIXMAN = python ../misc/fixman.py
+GETATTRS = $(PYTHON) ../misc/getattrs.py
+FIXMAN = $(PYTHON) ../misc/fixman.py
#AFLAGS = -a linkcss
#AFLAGS = -a stylesheet=extra.css
DESTDIR="$(DESTDIR)" \
PG_CONFIG="$(PG_CONFIG)" \
PG_CPPFLAGS="$(PG_CPPFLAGS)" \
+ PYTHON="$(PYTHON)" \
|| exit $?; \
done
NDOC = NaturalDocs
NDOCARGS = -r -o html docs/html -p docs -i docs/sql
-CATSQL = ../../scripts/catsql.py
-GRANTFU = ../../scripts/grantfu.py
+CATSQL = $(PYTHON) ../../scripts/catsql.py
+GRANTFU = $(PYTHON) ../../scripts/grantfu.py
#
# build rules, in case Contrib data must be always installed
SRCS = $(addprefix src/, $(SQLS))
DSTS = $(addprefix final/, $(SQLS))
-CATSQL = python ../scripts/catsql.py
+CATSQL = $(PYTHON) ../scripts/catsql.py
all: $(DSTS)