Pass the install-path into Makefile (#1200)

* Pass the install-path into Makefile, rather than having the Makefile
depend on PWD.

* Move the double-quotes be before the value, to be consistent with other
Makefiles.
This commit is contained in:
Joshua Marantz
2016-05-16 13:32:28 -04:00
parent fd26b873e9
commit d7f48d88c6
+3 -2
View File
@@ -61,8 +61,9 @@ rm -rf "$SERVER_ROOT"
mkdir -p "$SERVER_ROOT"
export APACHE_DOC_ROOT="$SERVER_ROOT"
mkdir -p $APACHE_DOC_ROOT
cd "$MOD_PAGESPEED_DIR/src/install/" && make -f Makefile.tests setup_doc_root
mkdir -p "$APACHE_DOC_ROOT"
make -f "$APACHE_DOC_SRC/Makefile.tests" setup_doc_root \
INSTALL_DATA_DIR="$APACHE_DOC_SRC"
# We need check and check_not before we source SYSTEM_TEST_FILE that provides
# them.