[glom] Fix make distcheck.



commit af83f29cb58caf9bf20cbe894aa43d720f08a10e
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jan 11 10:36:07 2012 +0100

    Fix make distcheck.
    
    * Makefile.am: Add messages.mo to CLEANFILES, though I would prefer
      to not generate it in the first place. This is apparently triggered by
      the presence of the .po files in examples/po_files/ though these are
      not part of the build.

 ChangeLog   |    9 +++++++++
 Makefile.am |    4 +++-
 2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 153a3d8..aa21972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-01-11  Murray Cumming  <murrayc murrayc com>
+
+	Fix make distcheck.
+
+	* Makefile.am: Add messages.mo to CLEANFILES, though I would prefer 
+  to not generate it in the first place. This is apparently triggered by 
+  the presence of the .po files in examples/po_files/ though these are 
+  not part of the build.
+
 2012-01-10  Murray Cumming  <murrayc murrayc com>
 
 	Allow creation of .pot files for .glom files.
diff --git a/Makefile.am b/Makefile.am
index 2736777..ddb8bc8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -255,7 +255,9 @@ dist_noinst_DATA += $(dist_template) $(noinst_icons) $(dist_docutils) \
 # We use += here because we already used = in Makefile_tests.am:
 dist_noinst_SCRIPTS += autogen.sh win32/build-installer
 
-CLEANFILES = $(dbusservice_DATA) $(desktop_DATA) $(win_resfile)
+# messages.mo is apparently generated because we have .po files under examples/po_files, in git,
+# TODO: Is there some way to tell the build to ignore them?
+CLEANFILES = $(dbusservice_DATA) $(desktop_DATA) $(win_resfile) $(top_builddir)/messages.mo
 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
 MAINTAINERCLEANFILES += \
 	$(dist_docutils) $(dist_intltool) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]