X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=14604e88accc65e9e73416aa4e6b0df06c3db325;hb=eec25dc1ae3ed49ad5e2eda0ca04450c4f75d6f7;hp=91adf05feb570945ab4f00fbe3f1bace0a61871f;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=openvswitch diff --git a/Makefile.am b/Makefile.am index 91adf05f..14604e88 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,10 +20,18 @@ AM_CFLAGS += $(WARNING_FLAGS) if NDEBUG AM_CPPFLAGS += -DNDEBUG AM_CFLAGS += -fomit-frame-pointer -else -AM_LDFLAGS = -export-dynamic endif +# PYTHONDONTWRITEBYTECODE=yes keeps Python from creating .pyc and .pyo +# files. Creating .py[co] works OK for any given version of Open +# vSwitch, but it causes trouble if you switch from a version with +# foo/__init__.py into an (older) version with plain foo.py, since +# foo/__init__.pyc will cause Python to ignore foo.py. +run_python = \ + PYTHONDONTWRITEBYTECODE=yes \ + PYTHONPATH=$(top_srcdir)/python:$$PYTHONPATH \ + $(PYTHON) + ALL_LOCAL = BUILT_SOURCES = CLEANFILES = @@ -33,6 +41,7 @@ PYCOV_CLEAN_FILES = build-aux/check-structs,cover EXTRA_DIST = \ CodingStyle \ DESIGN \ + FAQ \ INSTALL.KVM \ INSTALL.Libvirt \ INSTALL.Linux \