summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-06-23 22:16:41 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-07-01 08:47:55 +0200
commit2132e3562608994353efc56999754a8d247d50a9 (patch)
treebb20efce5a1cb8395b7d1b457200a418ad6fcd11
parent9c161835179e07900118a77544f61ee21fbb9510 (diff)
downloadptxdist-stable/ptxdist-2016.06.x.tar.gz
Makefile.in: fix installing if sphinx-build is not foundptxdist-2016.06.1stable/ptxdist-2016.06.x
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit 99fadb91ea644a9a6e37c898633e15d41368e207) Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 8c34bfa..f556423 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -70,7 +70,9 @@ environment:
@ln -sf @BASH@ "$(abs_srcdir)/bin/bash"
@ln -sf @SYSCTL@ "$(abs_srcdir)/bin/sysctl"
@ln -sf @MAKE@ "$(abs_srcdir)/bin/make"
- @ln -sf @SPHINX@ "$(abs_srcdir)/bin/sphinx-build"
+ @if [ @SPHINX@ != "sphinx-build" ]; then \
+ ln -sf @SPHINX@ "$(abs_srcdir)/bin/sphinx-build"; \
+ fi
@echo " done"
man: man/ptxdist.1.gz