nobase_pkgpython_PYTHON = rapi/__init__.py \
rapi/resources.py rapi/RESTHTTPServer.py
+python_files = $(pkgpython_PYTHON)
all-local: _autoconf.py
echo "IALLOCATOR_SEARCH_PATH = [$(IALLOCATOR_SEARCH_PATH)]"; \
} > $@
-pre-check: all
- for i in $(pkgpython_PYTHON); do \
- if test ! -f $$i; then $(LN_S) $(srcdir)/$$i $$i; fi; \
- done
+include $(srcdir)/Makefile.libcommon
--- /dev/null
+# We need to create symlinks because "make distcheck" will not install Python
+# files for building.
+pre-check: all
+ for i in $(python_files); do \
+ if test ! -f $$i; then \
+ $(LN_S) $(srcdir)/$$i $$i; \
+ fi; \
+ done