From 104047d47204f2a465d16e7bd0862a43f22a4907 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 25 Aug 2015 23:39:02 +0200 Subject: [PATCH] doc/Makefile: Do not configure test-sw if already done. I have both lib directories bind-mounted to the same directory. Without this change, I was not able to compile documentation, because cp complained about copying file to itself. --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index d291690..9a483fb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -41,4 +41,4 @@ version.tex: if cmp $@ $@.tmp; then rm $@.tmp; else mv $@.tmp $@; fi configure-test-sw: - cp ../rpp/lib/Makefile.config test-sw/rpp-lib + if ! cmp ../rpp/lib/Makefile.config test-sw/rpp-lib/Makefile.config; then cp ../rpp/lib/Makefile.config test-sw/rpp-lib; fi -- 2.39.2