Added logic to place the files into the release directory in sorted
order so they appear that way in the final tarball.
1 parent b64e5ad commit 2018c98d1d66dea0b0764f3d0069528a9358a1b1
@tundra tundra authored on 11 Mar 2008
Showing 1 changed file
View
4
makefile
# Build a release of 'tbku' using 'make'
# $Id: makefile,v 1.102 2008/03/11 19:21:44 tundra Exp $
# $Id: makefile,v 1.103 2008/03/11 21:24:34 tundra Exp $
# Requires a modern 'make' like GNU.
 
# Uncomment One Of The Following For Early Releases
 
chmod 755 ${PROGFILES}
 
release: docs progs
@mkdir ${DIR}
@mv ${DOCFILES} ${PROGFILES} ${DOCSOURCES} ${DIR}
@for f in `for f in ${DOCFILES} ${PROGFILES} ${DOCSOURCES};do echo $$f;done | sort`; do mv -v $$f ${DIR};done
@tar -czvf ${TARBALL} ${DIR}
@rm -rf ${DIR}
@mv ${DIR}.tar.gz Releases