Changeset b2647de for app/dist/tarball/Makefile
- Timestamp:
- 03/17/08 11:35:12 (17 years ago)
- Branches:
- master, help
- Children:
- d593c5e
- Parents:
- 246900a
- git-author:
- pawelk <pawelk@…> (03/17/08 11:35:12)
- git-committer:
- pawelk <pawelk@…> (03/17/08 11:35:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/dist/tarball/Makefile
r25ae32e rb2647de 5 5 # 6 6 7 DIR=$(shell pwd) 8 7 9 # Directory with utt binaries 8 ifndef _UTT_DIST_DIR9 _UTT_DIST_DIR=${DIR}10 ifndef UTT_DIST_DIR 11 UTT_DIST_DIR=${DIR} 10 12 endif 11 13 12 14 # Where put result 13 ifndef _UTT_DIST_OUTPUT14 _UTT_DIST_OUTPUT=${DIR}15 ifndef UTT_DIST_OUTPUT 16 UTT_DIST_OUTPUT=${DIR} 15 17 endif 16 18 … … 20 22 21 23 # Temp vars 22 DIR=$(shell pwd) 23 _TARBALL_ROOT=$(DIR)/utt_$(_UTT_VER)-$(_UTT_REL) 24 _TARBALL_ROOT=$(DIR)/utt-$(_UTT_VER).$(_UTT_REL) 24 25 _TAR_FILE_NAME=utt.$(_UTT_VER)_$(_UTT_REL).tar.gz 25 26 … … 27 28 .PHONY: default 28 29 default: 29 @echo Build dir is ${_UTT_DIST_DIR}30 @echo Change output for tarball as ${_UTT_DIST_OUTPUT}30 @echo Build directory: ${UTT_DIST_DIR} 31 @echo Output directory for tarball: ${UTT_DIST_OUTPUT} 31 32 mkdir -p ${_TARBALL_ROOT} 32 cp -fr ${ _UTT_DIST_DIR}/* ${_TARBALL_ROOT}33 cp -fr ${UTT_DIST_DIR}/* ${_TARBALL_ROOT} 33 34 @# we add some extra files 35 cp ../common/utt_make_config.pl ${_TARBALL_ROOT}/bin/ 36 chmod 755 ${_TARBALL_ROOT}/bin/utt_make_config.pl 34 37 cp ./INSTALL ${_TARBALL_ROOT}/ 38 cp ../files/* ${_TARBALL_ROOT}/ 35 39 36 tar -czf ${ _UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt*40 tar -czf ${UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt* 37 41 38 42 rm -rf ${_TARBALL_ROOT} 43
Note: See TracChangeset
for help on using the changeset viewer.