version 1.14, 2000/03/11 11:08:30 |
version 1.17, 2000/03/13 02:41:36 |
|
|
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.13 2000/03/11 10:32:27 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.16 2000/03/13 00:57:44 takayama Exp $ |
|
|
VERSION=1.1.2 |
VERSION=1.1.2 |
TAG=HEAD |
TAG=HEAD |
|
|
|
|
TAR_WORK=$(HOME)/tmp |
TAR_WORK=$(HOME)/tmp |
NAME=taka |
NAME=taka |
|
# It must be equal to TAR_WORK. To work as a super user. Used in build-on-pear. |
TAR_WORK_EXPLICIT=/home/${NAME}/tmp |
TAR_WORK_EXPLICIT=/home/${NAME}/tmp |
JDK=jdk1.1.8 |
JDK=jdk1.1.8 |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
|
|
|
|
print: |
print: |
$(PS) Makefile | $(LPR) |
$(PS) Makefile | $(LPR) |
|
$(PS) README | $(LPR) |
$(PS) Generic/openxm/Makefile | $(LPR) |
$(PS) Generic/openxm/Makefile | $(LPR) |
$(PS) Linux/RPM/Makefile | $(LPR) |
$(PS) Linux/RPM/Makefile | $(LPR) |
$(PS) Linux/RPM/openxm-*spec.in | $(LPR) |
$(PS) Linux/RPM/openxm-*spec.in | $(LPR) |
Line 51 generate-tar-balls: |
|
Line 53 generate-tar-balls: |
|
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01) |
make update-plist |
make update-plist |
(cd FreeBSD ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port) |
(cd FreeBSD ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port) |
(cd Linux/RPM ; make make-directory) |
|
(cd Linux/RPM ; make link-for-real-openxm) |
|
|
|
update-plist: |
update-plist: |
(cd FreeBSD ; make VERSION=${VERSION} TAG=${TAG} update-plist ) |
(cd FreeBSD ; make VERSION=${VERSION} TAG=${TAG} update-plist ) |
|
|
build-on-orange: |
prepare-build-rpm: |
|
(cd Linux/RPM ; make make-directory) |
|
(cd Linux/RPM ; make link-for-real-openxm) |
|
|
|
# set path=(/usr/local/jdk1.1.8/bin $path) ; rehash |
|
build-on-orange: prepare-build-rpm |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} shared-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} shared-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} clean-work) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} clean-work) |
|
|
(cd /usr/ports/math ; /bin/rm -rf openxm ; tar xzvf ${TAR_WORK_EXPLICIT}/openxm-port.tar.gz) |
(cd /usr/ports/math ; /bin/rm -rf openxm ; tar xzvf ${TAR_WORK_EXPLICIT}/openxm-port.tar.gz) |
(PATH=/usr/local/${JDK}/bin:$(PATH) ; export PATH ; cd /usr/ports/math/openxm ; make install ; make package ; make deinstall ; cp openxm-${VERSION}.tgz ${TAR_WORK_EXPLICIT} ; chown ${NAME} ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tgz) |
(PATH=/usr/local/${JDK}/bin:$(PATH) ; export PATH ; cd /usr/ports/math/openxm ; make install ; make package ; make deinstall ; cp openxm-${VERSION}.tgz ${TAR_WORK_EXPLICIT} ; chown ${NAME} ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tgz) |
|
|
build-on-redhat: |
build-on-redhat: prepare-build-rpm |
(cd Generic/openxm ; make clean-for-make) |
(cd Generic/openxm ; make clean-work ; make fetch) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Linux/RPM ; make build-binary-rpm) |
(cd Linux/RPM ; make build-binary-rpm) |
(cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK}) |
(cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK}) |
|
|
|
# set path=(/usr/ccs/bin /usr/local/bin $path); rehash |
|
# (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages and make build-on-unkei |
build-on-unkei: |
build-on-unkei: |
(cd Generic/openxm ; make clean-for-make) |
(cd Generic/openxm ; make clean-work ; make fetch) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
|
|
copy-to-ftp-area: |
copy-to-ftp-area: |