version 1.9, 2000/03/11 05:44:14 |
version 1.12, 2000/03/11 08:58:32 |
|
|
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.8 2000/03/11 02:52:37 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.11 2000/03/11 07:10:02 takayama Exp $ |
|
|
VERSION=1.1.2 |
VERSION=1.1.2 |
TAG=HEAD |
TAG=HEAD |
Line 8 TAR_WORK=$(HOME)/tmp |
|
Line 8 TAR_WORK=$(HOME)/tmp |
|
NAME=taka |
NAME=taka |
TAR_WORK_EXPLICIT=/home/${NAME}/tmp |
TAR_WORK_EXPLICIT=/home/${NAME}/tmp |
JDK=jdk1.1.8 |
JDK=jdk1.1.8 |
FTP_AREA=/home/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
## TAG for the CVS server. |
## TAG for the CVS server. |
|
|
|
|
# Modify below for priting. |
# Modify below for priting. |
PS=a2ps-j |
PS=a2ps-j |
LPR=lpr -Pdousan |
LPR=lpr -Pdousan |
|
|
@echo " clean " |
@echo " clean " |
@echo " print " |
@echo " print " |
@echo "Do not forget to put java and javac in your search path." |
@echo "Do not forget to put java and javac in your search path." |
|
@echo "Put your rcvs script by the name cvs-OpenXM under your search path." |
|
@echo " (See Generic/openxm/Makefile for details) " |
@echo "1. generate-tar-balls" |
@echo "1. generate-tar-balls" |
@echo " (update-plist)" |
@echo " (update-plist)" |
@echo "2. build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)" |
@echo "2. build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)" |
@echo "3. build-on-pear" |
@echo "3. build-on-pear (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-ftp-area " |
|
cvs-OpenXM hoge |
|
|
clean : |
clean : |
-(cd Generic/openxm ; make clean-work) |
-(cd Generic/openxm ; make clean-work) |
Line 53 generate-tar-balls: |
|
Line 55 generate-tar-balls: |
|
(cd Linux/RPM ; make link-for-real-openxm) |
(cd Linux/RPM ; make link-for-real-openxm) |
|
|
update-plist: |
update-plist: |
(cd FreeBSD ; make VERSION=${VERSION} TAG=${TAG} VERSION=${VERSION} update-plist ) |
(cd FreeBSD ; make VERSION=${VERSION} TAG=${TAG} update-plist ) |
|
|
build-on-orange: |
build-on-orange: |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01) |
|
|
# You should be a super user. |
# You should be a super user. |
build-on-pear: |
build-on-pear: |
cp ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tar.gz /usr/ports/distfiles |
cp ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tar.gz /usr/ports/distfiles |
(cd /usr/ports/math ; 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}/java ; export PATH ; cd FreeBSD/openxm-ports/openxm-${VERSION} ; 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: |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} binary-tar-ball) |