Commit 9a59da5f authored by Tres Seaver's avatar Tres Seaver

Collector #2081: 'make instance' forced inappropriate dir, credentials.

"This time for sure!"
parent bdbf64f6
...@@ -18,6 +18,8 @@ Zope Changes ...@@ -18,6 +18,8 @@ Zope Changes
Bugs fixed Bugs fixed
- Collector #2082: 'make install' broken.
- Collector #2081: 'make instance' forced inappropriate dir, credentials. - Collector #2081: 'make instance' forced inappropriate dir, credentials.
- Collector #1447: When editing content on a virtual-hosted zope, - Collector #1447: When editing content on a virtual-hosted zope,
......
...@@ -57,13 +57,22 @@ install: ...@@ -57,13 +57,22 @@ install:
# inplace: Do an in-place build # inplace: Do an in-place build
inplace: build inplace: build
# test: Do an inplace build and run the Zope test suite.
test: inplace
${PYTHON} "${BASE_DIR}/test.py" ${TESTOPTS}
# instance: Do an inplace build and create an instance home in the resulting # instance: Do an inplace build and create an instance home in the resulting
# software home. # software home.
instance: build instance: build
${PYTHON} "${BASE_DIR}/utilities/mkzopeinstance.py" ${MKZ_FLAGS} \ ${PYTHON} "${BASE_DIR}/utilities/mkzopeinstance.py" ${MKZ_FLAGS}
--dir="${BASE_DIR}"
# testinst: Perform an inplace build and create an instance home in the
# resulting software home without asking questions. Useful when
# performing automated testing.
testinst: MKZ_FLAGS=--user=admin:admin --dir="${BASE_DIR}"
testinst: instance
# uninstance: Remove the instance files made by make instance (w/ prejudice) # uninstance: Remove the instance files made by testinstance (w/ prejudice)
uninstance: uninstance:
${RMRF} "${BASE_DIR}/bin" ${RMRF} "${BASE_DIR}/bin"
${RMRF} "${BASE_DIR}/etc" ${RMRF} "${BASE_DIR}/etc"
...@@ -72,16 +81,6 @@ uninstance: ...@@ -72,16 +81,6 @@ uninstance:
${RMRF} "${BASE_DIR}/var" ${RMRF} "${BASE_DIR}/var"
${RMRF} "${BASE_DIR}/Products" ${RMRF} "${BASE_DIR}/Products"
# testinst: Perform an inplace build and create an instance home in the
# resulting software home without asking questions. Useful when
# performing automated testing.
testinst: MKZ_FLAGS=--user=admin:admin
testinst: instance
# test: Do an inplace build and run the Zope test suite.
test: inplace
${PYTHON} "${BASE_DIR}/test.py" ${TESTOPTS}
# clean: Delete the build files and any binaries/bytecode files in # clean: Delete the build files and any binaries/bytecode files in
# the source directory for good measure. # the source directory for good measure.
clean: clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment