[Zope-Checkins] CVS: Zope/inst - Makefile.in:1.14.2.9

Andreas Jung andreas at andreas-jung.com
Sat Jul 31 12:15:43 EDT 2004


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv23970/inst

Modified Files:
      Tag: Zope-2_7-branch
	Makefile.in 
Log Message:
added target version_txt 


=== Zope/inst/Makefile.in 1.14.2.8 => 1.14.2.9 ===
--- Zope/inst/Makefile.in:1.14.2.8	Wed Jul 28 13:29:05 2004
+++ Zope/inst/Makefile.in	Sat Jul 31 12:15:43 2004
@@ -76,7 +76,7 @@
 # less expensive in the common case than letting distutils
 # potentially rebuild the binaries when we've done that already.
 inplace: PREFIX=${BASE_DIR}
-inplace: install
+inplace: version_txt install
 
 # instance:    Do an inplace build and create an instance home in the resulting
 #              software home.
@@ -108,15 +108,18 @@
 	${FIND} "${BASE_DIR}" \
          -name '*.py[co]' -o -name '*.so' -o -name '*.o' | ${XARGS} ${RM}
 
+# version_txt: create a version file in lib/python/version.txt
+version_txt:
+	echo -n "Zope ${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG}" >\
+          "${BASE_DIR}/lib/python/version.txt"
+
 # sdist:       Create a source distribution file (implies clobber).
 #
 sdist: clobber sdist_tgz
 
 # 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: version_txt
 	${MKDIR} ${TMPDIR}
 	${CD} ${TMPDIR} && ${LN} ${BASE_DIR} ${PACKAGE_NAME} && \
           ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz ${PACKAGE_NAME} \



More information about the Zope-Checkins mailing list