version 1.29, 2001/03/29 01:25:00 |
version 1.35, 2015/07/28 06:28:00 |
|
|
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.28 2001/03/23 12:16:15 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.34 2015/02/20 01:20:45 takayama Exp $ |
|
|
VERSION=1.1.3 |
VERSION=1.3.1 |
TAG=HEAD |
TAG=HEAD |
## TAG=RELEASE_1_1_3 |
## TAG=RELEASE_1_3_1 |
|
|
### Configure below. |
### Configure below. |
TAR_WORK=$(HOME)/tmp |
TAR_WORK=$(HOME)/tmp |
|
|
# It must be equal to TAR_WORK. To work as a super user. Used in build-on-pear-root. |
# It must be equal to TAR_WORK. To work as a super user. Used in build-on-pear-root. |
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=/home/web/pub/OpenXM/${VERSION} |
FTP_AREA_HEAD=/export/home01/ftp/pub/OpenXM/Head |
FTP_AREA_HEAD=/home/web/pub/OpenXM/Head |
FTP_AREA_ASIR=/export/home01/ftp/pub/asir |
FTP_AREA_ASIR=/home/web/pub/asir |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/home/cvs |
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
## TAG for the CVS server. |
## TAG for the CVS server. |
|
|
# Modify below for priting. |
# Modify below for priting. |
|
|
@echo "3. build-on-pear-root (do it as a super user)" |
@echo "3. build-on-pear-root (do it as a super user)" |
@echo "4. build-on-redhat (do not forget to set .rpmrc)" |
@echo "4. build-on-redhat (do not forget to set .rpmrc)" |
@echo "5. build-on-unkei" |
@echo "5. build-on-unkei" |
@echo "6. copy-to-ftp-area " |
@echo "6. copy-to-http-area " |
@echo "7. copy-head-tar-ball-to-ftp-area " |
@echo "[[7]]. copy-head-tar-ball-to-http-area " |
@echo "8. copy-asir-head-tar-ball-to-ftp-area " |
@echo "7.b copy-release-tar-ball-to-http-area " |
@echo "9. copy-asir-stable-tar-ball-to-ftp-area " |
@echo "8. copy-asir-head-tar-ball-to-http-area " |
@echo "10. copy-asir-misc-tar-ball-to-ftp-area " |
@echo "9. copy-asir-stable-tar-ball-to-http-area " |
|
@echo "10. copy-asir-misc-tar-ball-to-http-area " |
|
|
clean : |
clean : |
-(cd Generic/openxm ; make clean-work) |
-(cd Generic/openxm ; make clean-work) |
Line 112 build-on-redhat: prepare-build-rpm clean-Generic-openx |
|
Line 113 build-on-redhat: prepare-build-rpm clean-Generic-openx |
|
build-on-unkei: clean-Generic-openxm-work |
build-on-unkei: clean-Generic-openxm-work |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} OpenXM_HOME=${OpenXM_HOME} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} OpenXM_HOME=${OpenXM_HOME} binary-tar-ball) |
|
|
copy-to-ftp-area: |
copy-to-http-area: |
-mkdir ${FTP_AREA} |
-mkdir ${FTP_AREA} |
-cp ${TAR_WORK}/openxm*rpm ${FTP_AREA} |
-cp ${TAR_WORK}/openxm*rpm ${FTP_AREA} |
-cp ${TAR_WORK}/openxm-${VERSION}.tar.gz ${FTP_AREA} |
-cp ${TAR_WORK}/openxm-${VERSION}.tar.gz ${FTP_AREA} |
Line 121 copy-to-ftp-area: |
|
Line 122 copy-to-ftp-area: |
|
-cp ${TAR_WORK}/openxm-port.tar.gz ${FTP_AREA} |
-cp ${TAR_WORK}/openxm-port.tar.gz ${FTP_AREA} |
ls -l ${FTP_AREA} |
ls -l ${FTP_AREA} |
|
|
copy-head-tar-ball-to-ftp-area: |
copy-release-tar-ball-to-http-area: |
-mkdir ${TAR_WORK} |
-mkdir ${TAR_WORK} |
-mkdir work |
-mkdir work |
(cd work ; /bin/rm -rf *) |
(cd work ; /bin/rm -rf *) |
(cd work ; ${RCVS} checkout OpenXM OpenXM_contrib OpenXM_contrib2) |
(cd work ; ${RCVS} checkout OpenXM OpenXM_contrib OpenXM_contrib2) |
|
(cd work ; tar czvf ${TAR_WORK}/openxm-${VERSION}.tar.gz OpenXM OpenXM_contrib OpenXM_contrib2) |
|
/bin/rm -rf work |
|
-scp ${TAR_WORK}/openxm-${VERSION}.tar.gz ${WHO}:${FTP_AREA} |
|
|
|
copy-head-tar-ball-to-http-area: |
|
-mkdir ${TAR_WORK} |
|
-mkdir work |
|
(cd work ; /bin/rm -rf *) |
|
(cd work ; ${RCVS} checkout OpenXM OpenXM_contrib OpenXM_contrib2) |
(cd work ; tar czvf ${TAR_WORK}/openxm-head.tar.gz OpenXM OpenXM_contrib OpenXM_contrib2) |
(cd work ; tar czvf ${TAR_WORK}/openxm-head.tar.gz OpenXM OpenXM_contrib OpenXM_contrib2) |
/bin/rm -rf work |
/bin/rm -rf work |
-scp ${TAR_WORK}/openxm-head.tar.gz ${WHO}:${FTP_AREA_HEAD} |
cp ${TAR_WORK}/openxm-head.tar.gz ${FTP_AREA_HEAD} |
|
|
copy-asir-head-tar-ball-to-ftp-area: |
copy-asir-head-tar-ball-to-http-area: |
-mkdir ${TAR_WORK} |
-mkdir ${TAR_WORK} |
-mkdir work |
-mkdir work |
(cd work ; /bin/rm -rf *) |
(cd work ; /bin/rm -rf *) |
Line 141 copy-asir-head-tar-ball-to-ftp-area: |
|
Line 151 copy-asir-head-tar-ball-to-ftp-area: |
|
-scp ${TAR_WORK}/pari.tar.gz ${WHO}:${FTP_AREA_ASIR} |
-scp ${TAR_WORK}/pari.tar.gz ${WHO}:${FTP_AREA_ASIR} |
-scp ${TAR_WORK}/asir-head.tar.gz ${WHO}:${FTP_AREA_ASIR} |
-scp ${TAR_WORK}/asir-head.tar.gz ${WHO}:${FTP_AREA_ASIR} |
|
|
copy-asir-stable-tar-ball-to-ftp-area: |
copy-asir-stable-tar-ball-to-http-area: |
-mkdir ${TAR_WORK} |
-mkdir ${TAR_WORK} |
-mkdir work |
-mkdir work |
(cd work ; /bin/rm -rf *) |
(cd work ; /bin/rm -rf *) |
Line 150 copy-asir-stable-tar-ball-to-ftp-area: |
|
Line 160 copy-asir-stable-tar-ball-to-ftp-area: |
|
/bin/rm -rf work |
/bin/rm -rf work |
-scp ${TAR_WORK}/asir-stable.tar.gz ${WHO}:${FTP_AREA_ASIR} |
-scp ${TAR_WORK}/asir-stable.tar.gz ${WHO}:${FTP_AREA_ASIR} |
|
|
copy-asir-misc-tar-ball-to-ftp-area: |
copy-asir-misc-tar-ball-to-http-area: |
-mkdir ${TAR_WORK} |
-mkdir ${TAR_WORK} |
-mkdir work |
-mkdir work |
(cd work ; /bin/rm -rf *) |
(cd work ; /bin/rm -rf *) |