Commit 5f2d589c authored by Sidnei da Silva's avatar Sidnei da Silva

|- Add version_txt target

|- Call version_txt target from install target
|
parent fd335bd0
......@@ -50,13 +50,17 @@ unbuild:
-$(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.
......
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