Commit 3ed0990e authored by Chris McDonough's avatar Chris McDonough

Change version number and fix makefile to deal with mkzopeinstance changes and version.txt issues.

parent 3546b4cb
...@@ -81,7 +81,8 @@ inplace: install ...@@ -81,7 +81,8 @@ inplace: install
# 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: inplace instance: inplace
${PYTHON} "${BASE_DIR}/bin/mkzopeinstance.py" ${MKZ_FLAGS} "${BASE_DIR}" ${PYTHON} "${BASE_DIR}/bin/mkzopeinstance.py" ${MKZ_FLAGS} \
--dir="${BASE_DIR}"
# uninstance: Remove the instance files made by make instance (w/ prejudice) # uninstance: Remove the instance files made by make instance (w/ prejudice)
uninstance: uninstance:
...@@ -114,6 +115,8 @@ sdist: clobber sdist_tgz ...@@ -114,6 +115,8 @@ sdist: clobber sdist_tgz
# sdist_tgz: Create a tgz archive file as a source distribution. # sdist_tgz: Create a tgz archive file as a source distribution.
# #
sdist_tgz: sdist_tgz:
echo Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG} \
> "${BASE_DIR}/lib/python/version.txt"
${MKDIR} ${TMPDIR} ${MKDIR} ${TMPDIR}
${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \ ${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \
${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tar.gz ${PACKAGE_NAME} \ ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tar.gz ${PACKAGE_NAME} \
...@@ -123,6 +126,7 @@ sdist_tgz: ...@@ -123,6 +126,7 @@ sdist_tgz:
--exclude=makefile \ --exclude=makefile \
--exclude=*~ \ --exclude=*~ \
--exclude=.#* --exclude=.#*
${RM} "${BASE_DIR}/lib/python/version.txt"
${RMRF} ${TMPDIR}/${PACKAGE_NAME} ${RMRF} ${TMPDIR}/${PACKAGE_NAME}
# clobber: Make the source tree 'pristine' again. # clobber: Make the source tree 'pristine' again.
......
...@@ -4,4 +4,4 @@ ZOPE_BRANCH_NAME = '$Name$'[6:] or 'no-branch' ...@@ -4,4 +4,4 @@ ZOPE_BRANCH_NAME = '$Name$'[6:] or 'no-branch'
# always start prerelease branches with '0' to avoid upgrade # always start prerelease branches with '0' to avoid upgrade
# issues in RPMs # issues in RPMs
VERSION_RELEASE_TAG = '0test' VERSION_RELEASE_TAG = '0a1'
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