From 2f78c46dcf0a4845161f0d40440b6c13460810be Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 6 Feb 2018 11:21:06 +0100 Subject: [PATCH] build: Fix srcdir = builddir build Don't try to copy a file over itself if srcdir == builddir --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 616019b..6c247a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ check-translations: update-translations: create-pot check-translations @tx -r $(srcdir) pull --all --force --skip - @if [ ! -d .tx ] ; then mkdir .tx ; fi ; cp -f $(srcdir)/.tx/config .tx/ + @if [ ! -d .tx ] ; then mkdir .tx ; fi ; if [ x$(srcdir) != x$(builddir) ] ; then cp -f $(srcdir)/.tx/config .tx/ ; fi @tx push --source -include $(top_srcdir)/git.mk