Changeset b2647de for app/dist/spec/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/spec/Makefile
r25ae32e rb2647de 3 3 DIR=$(shell pwd) 4 4 5 ifndef _UTT_DIST_DIR6 _UTT_DIST_DIR=${DIR}5 ifndef UTT_DIST_DIR 6 UTT_DIST_DIR=${DIR} 7 7 endif 8 8 9 9 _RPM_FROOT=${DIR}/rmp_root 10 _UTT_ROOT=${_RPM_FROOT}/usr/local 10 11 # default task 11 12 .PHONY: rpm 12 13 rpm: 13 cd ${_UTT_DIST_DIR}; rpmbuild -bb ${DIR}/utt.spec 14 if test -d ${_RPM_FROOT}; then rm -fr ${_RMP_FROOT}; fi 15 mkdir -p ${_UTT_ROOT} 16 cp -rf ${UTT_DIST_DIR}/* ${_UTT_ROOT}/ 17 cp ../common/utt_make_config.pl ${_UTT_ROOT}/bin/ 18 chmod 755 ${_UTT_ROOT}/bin/utt_make_config.pl 19 cp ../files/* ${_UTT_ROOT}/ 20 cd ${_RPM_FROOT}; rpmbuild -bb ${DIR}/utt.spec 14 21 15 22 rm -rf ${_RPM_FROOT} 23
Note: See TracChangeset
for help on using the changeset viewer.