From ce136638851210a834b9bba6644349566f0e226e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr> Date: Sat, 11 Apr 2020 00:58:58 +0200 Subject: [PATCH] Makefile: install html files in install-txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The project git-html-l10n awaits html files. Signed-off-by: Jean-No챘l Avila <jn.avila@free.fr> --- makefile.locale | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile.locale b/makefile.locale index f678c04..3158566 100644 --- a/makefile.locale +++ b/makefile.locale @@ -62,7 +62,8 @@ all doc-l10n: man html install-txt: install -d -m 755 $(prefix)/$(lang) - install *.txt -m 644 $(prefix)/$(lang) + [ -z "$$(ls *.txt 2>/dev/null)" ] || install *.txt -m 644 $(prefix)/$(lang) + [ -z "$$(ls *.html 2>/dev/null)" ] || install *.html -m 644 $(prefix)/$(lang) clean: rm -f *.1 *.html -- GitLab