help
Last change
on this file since 635ee52 was
b2647de,
checked in by pawelk <pawelk@…>, 17 years ago
|
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
|
-
Property mode set to
100644
|
File size:
512 bytes
|
Rev | Line | |
---|
[25ae32e] | 1 | # this makefile will build rpm |
---|
| 2 | |
---|
| 3 | DIR=$(shell pwd) |
---|
| 4 | |
---|
[b2647de] | 5 | ifndef UTT_DIST_DIR |
---|
| 6 | UTT_DIST_DIR=${DIR} |
---|
[25ae32e] | 7 | endif |
---|
| 8 | |
---|
[b2647de] | 9 | _RPM_FROOT=${DIR}/rmp_root |
---|
| 10 | _UTT_ROOT=${_RPM_FROOT}/usr/local |
---|
[25ae32e] | 11 | # default task |
---|
| 12 | .PHONY: rpm |
---|
| 13 | rpm: |
---|
[b2647de] | 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 |
---|
| 21 | |
---|
| 22 | rm -rf ${_RPM_FROOT} |
---|
[25ae32e] | 23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.