[gedit] build: fix external tools build



commit c147289ff321277064774cd100445ca922d8f18c
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Tue Dec 4 23:24:26 2018 +0100

    build: fix external tools build

 plugins/externaltools/data/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am
index 441220956..2431cceca 100644
--- a/plugins/externaltools/data/Makefile.am
+++ b/plugins/externaltools/data/Makefile.am
@@ -40,7 +40,10 @@ externaltools_all_desktop_files = $(externaltools_all_tools_in_files:.tool.in=.d
 externaltools_all_tools_files = $(externaltools_all_tools_in_files:.tool.in=)
 
 $(externaltools_all_desktop_files): $(externaltools_all_desktop_in_files) $(wildcard $(top_srcdir)/po/*po)
-       $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+       $(AM_V_GEN) \
+       $(MKDIR_P) "$(dir $@)"; \
+       $(AM_V_GEN) \
+       $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
 
 # Tools are generated by merging a script file (.tool.in) with a data file
 # (.desktop), which happens to be translated using intltool.


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