From fb2326cb8804e92e26588cb4f4d4703fe890841e Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Thu, 19 Jun 2008 18:33:43 +0800 Subject: [PATCH] Add CLEANFILES = *.pyc in Makefile.am. --- engine/anthy/Makefile.am | 5 +++++ engine/enchant/Makefile.am | 4 ++++ ibus/Makefile.am | 4 ++++ ibus/interface/Makefile.am | 4 ++++ ibusdaemon/Makefile.am | 4 ++++ panel/Makefile.am | 4 ++++ 6 files changed, 25 insertions(+) diff --git a/engine/anthy/Makefile.am b/engine/anthy/Makefile.am index 9f5e669..ea6c649 100644 --- a/engine/anthy/Makefile.am +++ b/engine/anthy/Makefile.am @@ -32,10 +32,14 @@ engine_anthydir = $(pkgdatadir)/engine/anthy anthy_DATA = \ anthy.py \ $(NULL) + anthy_LTLIBRARIES = _anthy.la + anthydir = @pyexecdir@ + _anthy_la_SOURCES = \ $(NULL) + nodist__anthy_la_SOURCES = \ anthy_wrap.c \ $(NULL) @@ -65,6 +69,7 @@ EXTRA_DIST = \ CLEANFILES = \ anthy.py \ anthy_wrap.c \ + *.pyc \ $(MULL) DISTCLEANFILES = \ diff --git a/engine/enchant/Makefile.am b/engine/enchant/Makefile.am index 3b51fcc..c562610 100644 --- a/engine/enchant/Makefile.am +++ b/engine/enchant/Makefile.am @@ -27,6 +27,10 @@ engine_enchant_PYTHON = \ engine_enchantdir = $(pkgdatadir)/engine/echant +CLEANFILES = \ + *.pyc \ + $(NULL) + test: $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py diff --git a/ibus/Makefile.am b/ibus/Makefile.am index d765b76..a074670 100644 --- a/ibus/Makefile.am +++ b/ibus/Makefile.am @@ -39,3 +39,7 @@ ibus_PYTHON = \ ibusdir = @pkgpythondir@ +CLEANFILES = \ + *.pyc \ + $(NULL) + diff --git a/ibus/interface/Makefile.am b/ibus/interface/Makefile.am index 6a10737..3cdf392 100644 --- a/ibus/interface/Makefile.am +++ b/ibus/interface/Makefile.am @@ -29,3 +29,7 @@ ibus_interface_PYTHON = \ ibus_interfacedir = @pkgpythondir@/interface +CLEANFILES = \ + *.pyc \ + $(NULL) + diff --git a/ibusdaemon/Makefile.am b/ibusdaemon/Makefile.am index f3e93c0..497dd0f 100644 --- a/ibusdaemon/Makefile.am +++ b/ibusdaemon/Makefile.am @@ -33,5 +33,9 @@ ibusdaemon_PYTHON = \ ibusdaemondir = $(pkgdatadir)/ibusdaemon +CLEANFILES = \ + *.pyc \ + $(NULL) + test: $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/ibusdaemon.py diff --git a/panel/Makefile.am b/panel/Makefile.am index b8f0dfe..8ea2f71 100644 --- a/panel/Makefile.am +++ b/panel/Makefile.am @@ -31,5 +31,9 @@ panel_PYTHON = \ paneldir = $(pkgdatadir)/panel +CLEANFILES = \ + *.pyc \ + $(NULL) + test: $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py -- 2.11.4.GIT