aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorAlexey Lebedeff <[email protected]>2016-06-15 10:40:36 +0300
committerAlexey Lebedeff <[email protected]>2016-06-15 10:40:36 +0300
commit9f9841eb7327c9fe73e84e197fd2965a97b639cf (patch)
treeb124a5d370468e47a289db92a2d52933e60a9d00 /make
parent481ac2a246c53c29033648ae5adda2c215fcc924 (diff)
downloadotp-9f9841eb7327c9fe73e84e197fd2965a97b639cf.tar.gz
otp-9f9841eb7327c9fe73e84e197fd2965a97b639cf.tar.bz2
otp-9f9841eb7327c9fe73e84e197fd2965a97b639cf.zip
Don't make assumptions about build tools paths
One more followup to https://github.com/erlang/otp/pull/1056 and https://github.com/erlang/otp/pull/1023 This time it's about `/usr/bin/env` and `/bin/cp`: - `/usr/bin/env` in `diameterc` was used to find the bootstrapped `escript` executable. Changed it to exlpicit call to `escript` in Makefile. - `/usr/bin/env` and `/bin/cp` were referenced in documentation build/install process. Now full paths to this tools are injected using autoconf magic.
Diffstat (limited to 'make')
-rwxr-xr-x[-rw-r--r--]make/emd2exml.in2
-rw-r--r--make/otp.mk.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/make/emd2exml.in b/make/emd2exml.in
index 903d707716..b4e052fef5 100644..100755
--- a/make/emd2exml.in
+++ b/make/emd2exml.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env escript
+#!@ENV@ escript
%% -*- erlang -*-
%%! -smp disable
diff --git a/make/otp.mk.in b/make/otp.mk.in
index c05c499d66..45eda71127 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -260,6 +260,7 @@ DEFAULT_GIF_FILES = $(HTMLDIR)/min_head.gif
XSLTPROC = @XSLTPROC@
FOP = @FOP@
XMLLINT = @XMLLINT@
+CP = @CP@
DOCGEN=$(ERL_TOP)/lib/erl_docgen
FOP_CONFIG = $(DOCGEN)/priv/fop.xconf