X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=115162de53daff510bce0ef0dcf9baf0b6411f8e;hb=41ca9a1e89c861823e6b73d3a207fdfbd95423e7;hp=91adf05feb570945ab4f00fbe3f1bace0a61871f;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=openvswitch diff --git a/Makefile.am b/Makefile.am index 91adf05f..115162de 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 \ @@ -41,6 +50,7 @@ EXTRA_DIST = \ INSTALL.XenServer \ INSTALL.bridge \ INSTALL.userspace \ + IntegrationGuide \ NOTICE \ PORTING \ README-gcov \