Update of /cvs-repository/Zope/inst In directory cvs.zope.org:/tmp/cvs-serv13839
Modified Files: Tag: Zope-2_7-branch Makefile.win.in Log Message: - Add version_txt target - Call version_txt target from install target === Zope/inst/Makefile.win.in 1.6.2.3 => 1.6.2.4 === --- Zope/inst/Makefile.win.in:1.6.2.3 Tue Apr 12 23:41:33 2005 +++ Zope/inst/Makefile.win.in Wed Apr 13 01:36:26 2005 @@ -50,13 +50,17 @@ -$(RMRF) $(BUILD_BASE) # install: Install a software home. -install: build +install: build version_txt $(PYTHON) "$(BASE_DIR)\setup.py" $(DISTUTILS_OPTS) install \ --prefix="$(PREFIX)" $(BUILD_FLAGS) $(INSTALL_FLAGS) @ echo. @ echo Zope binaries installed successfully. @ echo Now run '$(PYTHON) $(PREFIX)\bin\mkzopeinstance.py' +# version_txt: create a version file in lib/python/version.txt +version_txt: + echo "Zope $(MAJOR_VERSION).$(MINOR_VERSION)-$(RELEASE_TAG)" >\ + "$(BASE_DIR)/lib/python/version.txt" # clean: Delete the build files and any binaries/bytecode files in # the source directory for good measure. _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins