[gedit] build: fix make distcheck, when builddir != srcdir



commit 71798b6029220e25a4027e780d6d4202f388248e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Sep 18 13:48:42 2014 +0200

    build: fix make distcheck, when builddir != srcdir

 plugins/externaltools/data/Makefile.am |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am
index 9032e4d..e3a4707 100644
--- a/plugins/externaltools/data/Makefile.am
+++ b/plugins/externaltools/data/Makefile.am
@@ -52,3 +52,12 @@ EXTRA_DIST +=                                        \
 CLEANFILES +=                                  \
        $(externaltools_all_desktop_files)      \
        $(externaltools_all_tools_files)
+
+# Needed when builddir != srcdir. Normally Autoconf creates the
+# directory when creating the Makefile, but since gedit uses
+# non-recursive make, the directory is not created, but is needed for
+# generating the .desktop files.
+# If the following bug is fixed, this hack can normally be removed:
+# https://bugs.launchpad.net/intltool/+bug/605826
+$(externaltools_all_desktop_files):
+       $(AM_V_GEN) $(MKDIR_P) $(top_builddir)/plugins/externaltools/data/


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