Changeset b2647de for app/dist/tarball


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/tarball/Makefile

    r25ae32e rb2647de  
    55# 
    66 
     7DIR=$(shell pwd) 
     8 
    79# Directory with utt binaries 
    8 ifndef _UTT_DIST_DIR 
    9         _UTT_DIST_DIR=${DIR} 
     10ifndef UTT_DIST_DIR 
     11        UTT_DIST_DIR=${DIR} 
    1012endif 
    1113 
    1214# Where put result 
    13 ifndef _UTT_DIST_OUTPUT 
    14         _UTT_DIST_OUTPUT=${DIR} 
     15ifndef UTT_DIST_OUTPUT 
     16        UTT_DIST_OUTPUT=${DIR} 
    1517endif 
    1618 
     
    2022 
    2123# Temp vars 
    22 DIR=$(shell pwd) 
    23 _TARBALL_ROOT=$(DIR)/utt_$(_UTT_VER)-$(_UTT_REL) 
     24_TARBALL_ROOT=$(DIR)/utt-$(_UTT_VER).$(_UTT_REL) 
    2425_TAR_FILE_NAME=utt.$(_UTT_VER)_$(_UTT_REL).tar.gz 
    2526 
     
    2728.PHONY: default 
    2829default: 
    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} 
    3132        mkdir -p ${_TARBALL_ROOT} 
    32         cp -fr ${_UTT_DIST_DIR}/* ${_TARBALL_ROOT} 
     33        cp -fr ${UTT_DIST_DIR}/* ${_TARBALL_ROOT} 
    3334        @# 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 
    3437        cp ./INSTALL ${_TARBALL_ROOT}/ 
     38        cp ../files/* ${_TARBALL_ROOT}/ 
    3539 
    36         tar -czf ${_UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt* 
     40        tar -czf ${UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt* 
    3741 
    3842        rm -rf ${_TARBALL_ROOT} 
     43 
Note: See TracChangeset for help on using the changeset viewer.