version 1.5, 2000/03/10 14:21:45 |
version 1.6, 2000/03/15 14:19:56 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.4 2000/03/10 10:25:21 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.5 2000/03/10 14:21:45 takayama Exp $ |
# *If you do not like to use /usr/src/redhat area to put *rpm files, |
# *If you do not like to use /usr/src/redhat area to put *rpm files, |
# do as follows. |
# do as follows. |
# 0. Generate ~/.rpmrc and set the TopDir for the work. |
# 0. Generate ~/.rpmrc and set the TopDir for the work. |
|
|
# -ivh : Install, -e openxm-1.1.2-test : remove, |
# -ivh : Install, -e openxm-1.1.2-test : remove, |
# -qvl openxm-1.1.2-test : list. |
# -qvl openxm-1.1.2-test : list. |
|
|
OLE=$(HOME)/OpenXM/src/kan96xx/Doc/ole -q |
OLE_DIR=../../../../../OpenXM/src/kan96xx/Doc |
|
OLE=${OLE_DIR}/ole -q |
RPM_BUILD_BINARY_ROOT=/var/tmp/openxm-binary-root |
RPM_BUILD_BINARY_ROOT=/var/tmp/openxm-binary-root |
RPM_BUILD_SHARED_ROOT=/var/tmp/openxm-shared-root |
RPM_BUILD_SHARED_ROOT=/var/tmp/openxm-shared-root |
|
|
Line 74 make-directory: clean |
|
Line 75 make-directory: clean |
|
mkdir ${RPM_BUILD_SHARED_ROOT}/usr/local/man/man1 |
mkdir ${RPM_BUILD_SHARED_ROOT}/usr/local/man/man1 |
|
|
|
|
openxm-spec: |
openxm-spec: make-ole |
rm -rf work/SPECS/openxm.spec |
rm -rf work/SPECS/openxm.spec |
${OLE} <openxm.spec.in >work/SPECS/openxm.spec |
${OLE} <openxm.spec.in >work/SPECS/openxm.spec |
|
|
openxm-binary-spec: |
openxm-binary-spec: make-ole |
rm -rf work/SPECS/openxm-binary.spec |
rm -rf work/SPECS/openxm-binary.spec |
${OLE} <openxm-binary.spec.in >work/SPECS/openxm-binary.spec |
${OLE} <openxm-binary.spec.in >work/SPECS/openxm-binary.spec |
|
|
openxm-shared-spec: |
openxm-shared-spec: make-ole |
rm -rf work/SPECS/openxm-shared.spec |
rm -rf work/SPECS/openxm-shared.spec |
${OLE} <openxm-shared.spec.in >work/SPECS/openxm-shared.spec |
${OLE} <openxm-shared.spec.in >work/SPECS/openxm-shared.spec |
|
|
|
make-ole : |
|
@if test ! -f ${OLE_DIR}/ole ; \ |
|
then \ |
|
(cd $(OLE_DIR) ; make ole) ; \ |
|
fi |
|
|
clean : |
clean : |
-/bin/rm -rf work ${RPM_BUILD_BINARY_ROOT} ${RPM_BUILD_SHARED_ROOT} |
-/bin/rm -rf work ${RPM_BUILD_BINARY_ROOT} ${RPM_BUILD_SHARED_ROOT} |