version 1.8, 2000/03/16 07:55:56 |
version 1.12, 2000/03/24 08:48:15 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.7 2000/03/16 06:40:41 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.11 2000/03/24 08:44:18 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. |
|
# |
|
# The maximum rpm at http://rpm.redhat.com is the most comprehensive source |
|
# to use rpm to build redhat packages. |
|
|
OLE_DIR=../../../../../OpenXM/src/kan96xx/Doc |
OLE_DIR=../../../../../OpenXM/src/kan96xx/Doc |
OLE=${OLE_DIR}/ole -q |
OLE=${OLE_DIR}/ole -q |
Line 51 build-binary-rpm: openxm-binary-spec |
|
Line 54 build-binary-rpm: openxm-binary-spec |
|
(cd work/SPECS ; rpm -bb openxm-binary.spec ) |
(cd work/SPECS ; rpm -bb openxm-binary.spec ) |
|
|
build-shared-rpm: openxm-shared-spec |
build-shared-rpm: openxm-shared-spec |
(cd work/SPECS ; rpm --buildarch noarch -bb openxm-shared.spec ) |
(cd work/SPECS ; rpm --buildarch noarch --buildos Linux -bb openxm-shared.spec ) |
|
|
## This is obsolete |
## This is obsolete |
build-rpm: openxm-spec |
build-rpm: openxm-spec |
Line 60 build-rpm: openxm-spec |
|
Line 63 build-rpm: openxm-spec |
|
make-directory: clean |
make-directory: clean |
mkdir work |
mkdir work |
mkdir work/SOURCES work/SPECS work/BUILD work/RPMS |
mkdir work/SOURCES work/SPECS work/BUILD work/RPMS |
mkdir work/RPMS/i386 work/RPMS/noarch work/SPRMS |
mkdir work/RPMS/i386 work/RPMS/noarch work/SPRMS work/RPMS/ppc work/RPMS/sparc work/RPMS/alpha |
mkdir ${RPM_BUILD_BINARY_ROOT} |
mkdir ${RPM_BUILD_BINARY_ROOT} |
mkdir ${RPM_BUILD_BINARY_ROOT}/usr |
mkdir ${RPM_BUILD_BINARY_ROOT}/usr |
mkdir ${RPM_BUILD_BINARY_ROOT}/usr/local |
mkdir ${RPM_BUILD_BINARY_ROOT}/usr/local |