diff --git a/src/bin/dbutil/Makefile.am b/src/bin/dbutil/Makefile.am index f328cb0fef..e05055f8f9 100644 --- a/src/bin/dbutil/Makefile.am +++ b/src/bin/dbutil/Makefile.am @@ -13,6 +13,7 @@ noinst_SCRIPTS = run_dbutil.sh CLEANFILES = b10-dbutil b10-dbutil.pyc CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.py CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.pyc +CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/dbutil_messages.pyo if ENABLE_MAN diff --git a/src/lib/python/Makefile.am b/src/lib/python/Makefile.am index 893bb8c9e3..e3ae4b548c 100644 --- a/src/lib/python/Makefile.am +++ b/src/lib/python/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = isc nodist_python_PYTHON = bind10_config.py pythondir = $(pyexecdir) -CLEANFILES = bind10_config.pyc +CLEANFILES = bind10_config.pyc bind10_config.pyo CLEANDIRS = __pycache__ clean-local: diff --git a/src/lib/python/isc/config/Makefile.am b/src/lib/python/isc/config/Makefile.am index ef696fb4c1..cda8b57c23 100644 --- a/src/lib/python/isc/config/Makefile.am +++ b/src/lib/python/isc/config/Makefile.am @@ -13,6 +13,7 @@ CLEANFILES = $(PYTHON_LOGMSGPKG_DIR)/work/cfgmgr_messages.py CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/cfgmgr_messages.pyc CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/config_messages.py CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/config_messages.pyc +CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/config_messages.pyo CLEANDIRS = __pycache__ diff --git a/src/lib/python/isc/log_messages/work/Makefile.am b/src/lib/python/isc/log_messages/work/Makefile.am index 9bc5e0ff35..ad5ee0c3a3 100644 --- a/src/lib/python/isc/log_messages/work/Makefile.am +++ b/src/lib/python/isc/log_messages/work/Makefile.am @@ -5,7 +5,7 @@ python_PYTHON = __init__.py pythondir = $(pyexecdir)/isc/log_messages/ -CLEANFILES = __init__.pyc +CLEANFILES = __init__.pyc __init__.pyo CLEANDIRS = __pycache__ clean-local: