Ignore:
Timestamp:
03/17/08 11:35:12 (16 years ago)
Author:
pawelk <pawelk@…>
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)
Message:

Poprawiłem skrypty, generujące dystrybucję tarball oraz rpm.
Można testować: make dist_tarball oraz make dist_rpm.

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@11 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/dist/spec/Makefile

    r25ae32e rb2647de  
    33DIR=$(shell pwd) 
    44 
    5 ifndef _UTT_DIST_DIR 
    6         _UTT_DIST_DIR=${DIR} 
     5ifndef UTT_DIST_DIR 
     6        UTT_DIST_DIR=${DIR} 
    77endif 
    88 
    9  
     9_RPM_FROOT=${DIR}/rmp_root 
     10_UTT_ROOT=${_RPM_FROOT}/usr/local 
    1011# default task 
    1112.PHONY: rpm 
    1213rpm: 
    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 
    1421         
    15  
     22        rm -rf ${_RPM_FROOT} 
     23         
Note: See TracChangeset for help on using the changeset viewer.