Browse Source

[master] clean also remove python optimized byte-compiled file

This is ticket http://bind10.isc.org/ticket/2747

It has been failing on distclean for long time
due to file left around.

Newer python's keep under __pycache__ which was already handled.

Reviewed on jabber.
Jeremy C. Reed 12 years ago
parent
commit
da42298dc1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/python/isc/cc/Makefile.am

+ 1 - 0
src/lib/python/isc/cc/Makefile.am

@@ -7,6 +7,7 @@ pylogmessagedir = $(pyexecdir)/isc/log_messages/
 
 CLEANFILES = $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.py
 CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.pyc
+CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/pycc_messages.pyo
 
 EXTRA_DIST = pycc_messages.mes proto_defs.py