[Zope-CVS] CVS: Packages/WinBuilders/mk - spread.mk:1.1.2.1

Tim Peters tim.one at comcast.net
Mon Feb 2 21:20:57 EST 2004


Update of /cvs-repository/Packages/WinBuilders/mk
In directory cvs.zope.org:/tmp/cvs-serv16734/mk

Added Files:
      Tag: tim-zrs-branch
	spread.mk 
Log Message:
Make the Spread build act more like the others.  This sure is a lot of
delicate typing for such a trivial thing <0.5 wink>.


=== Added File Packages/WinBuilders/mk/spread.mk ===
# Justs repackages the Spread binaries.
# Puts binaries into build/bin.
# XXX We should include Spread's sample.spread.conf.  Where to put it?

# See README.txt for system requirements.

# Download the binary distribution of Spread, from http://www.spread.org/.
# Store it in tmp/.  NOTE:  May need to rename it to .tgz (depends on how
# it's downloaded).  The name is of the form spread-bin-n.nn.n.tgz

SPREAD_VERSION=3.17.1
SPREAD_DIR=spread-bin-$(SPREAD_VERSION)
SPREAD_ARCHIVE=$(SPREAD_DIR).tgz
SPREAD_REQUIRED_FILES=tmp/$(SPREAD_ARCHIVE)

REQUIRED_FILES=$(SPREAD_REQUIRED_FILES)

# Unpack the tarball into src/.
build_spread: $(SRC_DIR)/$(SPREAD_DIR)/win/spread.exe

$(SRC_DIR)/$(SPREAD_DIR)/win/spread.exe : tmp/$(SPREAD_ARCHIVE)
	$(MKDIR) "$(SRC_DIR)"
	$(TAR) -C "$(SRC_DIR)" -xvzf tmp/$(SPREAD_ARCHIVE)
	$(TOUCH) $@

# Copy the Windows stuff from src/ into build/bin/.
install_spread: $(BUILD_DIR)/bin/spread.exe

$(BUILD_DIR)/bin/spread.exe: $(SRC_DIR)/$(SPREAD_DIR)/win/spread.exe
	$(MKDIR) "$(BUILD_DIR)"
	$(MKDIR) "$(BUILD_DIR)/bin"

	$(CP) "$(SRC_DIR)/$(SPREAD_DIR)/win/spread.exe" \
              "$(SRC_DIR)/$(SPREAD_DIR)/win/sprecv.exe" \
              "$(SRC_DIR)/$(SPREAD_DIR)/win/spsend.exe" \
              "$(SRC_DIR)/$(SPREAD_DIR)/win/sptuser.exe" \
              "$(SRC_DIR)/$(SPREAD_DIR)/win/spflooder.exe" \
              "$(BUILD_DIR)/bin"
	$(TOUCH) $@




More information about the Zope-CVS mailing list