From e33c6897244f4053fd3fb24c7316243ef0b4deb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr>
Date: Sun, 27 Jan 2019 12:27:32 +0100
Subject: [PATCH] Fix makefile in case a translation does not yield any output
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

In case there's not any output files yet from a translation, the lang
directory is not created and the build fails.

Signed-off-by: Jean-No챘l Avila <jn.avila@free.fr>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index e1029be..2fa6fd2 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ update-sources:
 define MAKE_TARGET
 
 $(1)_$(2):
+	@mkdir -p $(2)
 	$(QUIET_LANG) $(2) -f ../makefile.locale $(1) lang=$(2)
 
 $(1): $(1)_$(2)
-- 
GitLab