[Zope-Checkins] SVN: Zope/trunk/inst/Makefile.in Add explicit
target for version.txt, and adjust targets which need it.
Tres Seaver
tseaver at zope.com
Sat Aug 7 14:10:28 EDT 2004
Log message for revision 26953:
Add explicit target for version.txt, and adjust targets which need it.
Changed:
U Zope/trunk/inst/Makefile.in
-=-
Modified: Zope/trunk/inst/Makefile.in
===================================================================
--- Zope/trunk/inst/Makefile.in 2004-08-07 18:07:43 UTC (rev 26952)
+++ Zope/trunk/inst/Makefile.in 2004-08-07 18:10:27 UTC (rev 26953)
@@ -51,8 +51,12 @@
unbuild:
${RMRF} ${BUILD_BASE}
+${BASE_DIR}/lib/python/version.txt:
+ echo -n "Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG}" >\
+ "${BASE_DIR}/lib/python/version.txt"
+
# install: Install a software home.
-install: build
+install: build ${BASE_DIR}/lib/python/version.txt
${PYTHON} "${BASE_DIR}/setup.py" ${DISTUTILS_OPTS} install \
--home="${PREFIX}" ${BUILD_FLAGS} ${INSTALL_FLAGS}
[ -f ${PREFIX}/bin/python ] || ${LN} ${PYTHON} ${PREFIX}/bin/python
@@ -111,9 +115,7 @@
# sdist_tgz: Create a tgz archive file as a source distribution.
#
-sdist_tgz:
- echo -n "Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG}" >\
- "${BASE_DIR}/lib/python/version.txt"
+sdist_tgz: ${BASE_DIR}/lib/python/version.txt
${MKDIR} ${TMPDIR}
${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \
${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz ${PACKAGE_NAME} \
@@ -124,7 +126,6 @@
--exclude=build-base \
--exclude=*~ \
--exclude=.#*
- ${RM} "${BASE_DIR}/lib/python/version.txt"
${RMRF} ${TMPDIR}/${PACKAGE_NAME}
# clobber: Make the source tree 'pristine' again.
More information about the Zope-Checkins
mailing list