version 1.10, 2000/03/11 06:22:32 |
version 1.14, 2000/03/11 11:08:30 |
|
|
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.9 2000/03/11 05:44:14 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Makefile,v 1.13 2000/03/11 10:32:27 takayama Exp $ |
|
|
VERSION=1.1.2 |
VERSION=1.1.2 |
TAG=HEAD |
TAG=HEAD |
|
|
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
## TAG for the CVS server. |
## TAG for the CVS server. |
|
|
RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs |
|
|
|
# Modify below for priting. |
# Modify below for priting. |
PS=a2ps-j |
PS=a2ps-j |
LPR=lpr -Pdousan |
LPR=lpr -Pdousan |
|
|
@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) |
|
|
-(cd Linux/RPM ; make clean) |
-(cd Linux/RPM ; make clean) |
|
|
print: |
print: |
|
$(PS) Makefile | $(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) |
$(PS) FreeBSD/openxm-ports/openxm-1.1.2/Makefile | $(LPR) |
$(PS) FreeBSD/openxm-ports/openxm-1.1.2/Makefile | $(LPR) |
$(PS) FreeBSD/Makefile | $(LPR) |
$(PS) FreeBSD/Makefile | $(LPR) |
$(PS) Makefile | $(LPR) |
|
|
|
|
|
generate-tar-balls: |
generate-tar-balls: |
-mkdir ${TAR_WORK} |
-mkdir ${TAR_WORK} |
make clean |
make clean |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball) |
(cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball) |
|
(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 make-directory) |
(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} RCVS=${RCVS} 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} 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) |
|
|
# 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 clean-for-make) |
(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}) |
|
|
build-on-unkei: |
build-on-unkei: |
|
(cd Generic/openxm ; make clean-for-make) |
(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: |