#
# Note: this file should *not* be turned into an automake version.  It's
# intended to be a master makefile which can *call* automake.  The version
# numbers, and C library version here should be set by hand.
#

CVERSION=glibc2
MAJOR=0
MINOR=85
PICO=3

LAST_MAJOR=0
LAST_MINOR=85
LAST_PICO=2

#
# this is here just to save some typing
#
reconfig:
	autoheader && automake -i && autoconf

# THIS IS ONLY FOR CORE TEAM MEMBERS.  IT WON'T WORK IF YOU'RE NOT A CORE
# TEAM MEMBER.  DON'T BOTHER
#
# do this before making a new release
#
release::
	./scripts/genlog $(LAST_MAJOR) $(LAST_MINOR) $(LAST_PICO)
	cat ./terror/RELEASE_INSTRUCTIONS
	
# THIS IS ONLY FOR CORE TEAM MEMBERS.  IT WON'T WORK IF YOU'RE NOT A CORE
# TEAM MEMBER.  DON'T BOTHER
#
# automatically build and upload binaries and RPM's
# (requires .netrc file entry for ftp.hungry.com)
#
binaries::
	echo "This script should only be run by lesstif core team members"
	echo "If you're not on the core team hit ^C now!"
	./scripts/mkrelease $(CVERSION)
	./scripts/ftprelease $(CVERSION)
	./scripts/mkrpms 

