[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages

Annotation of OpenXM/misc/packages/Makefile, Revision 1.14

1.14    ! takayama    1: # $OpenXM: OpenXM/misc/packages/Makefile,v 1.13 2000/03/11 10:32:27 takayama Exp $
1.7       takayama    2:
                      3: VERSION=1.1.2
1.9       takayama    4: TAG=HEAD
                      5: ## TAG=RELEASE_1_1_2
                      6:
1.7       takayama    7: TAR_WORK=$(HOME)/tmp
                      8: NAME=taka
                      9: TAR_WORK_EXPLICIT=/home/${NAME}/tmp
                     10: JDK=jdk1.1.8
1.10      takayama   11: FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION}
1.9       takayama   12: ## TAG for the CVS server.
1.7       takayama   13:
1.3       takayama   14: # Modify below for priting.
                     15: PS=a2ps-j
                     16: LPR=lpr -Pdousan
1.1       takayama   17:
                     18: usage :
1.3       takayama   19:        @echo "Targets "
                     20:        @echo "  clean "
                     21:        @echo "  print "
1.8       takayama   22:        @echo "Do not forget to put java and javac in your search path."
1.10      takayama   23:        @echo "Put your rcvs script by the name cvs-OpenXM under your search path."
                     24:        @echo "   (See Generic/openxm/Makefile for details) "
1.7       takayama   25:        @echo "1.  generate-tar-balls"
                     26:        @echo "  (update-plist)"
                     27:        @echo "2.  build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)"
1.10      takayama   28:        @echo "3.  build-on-pear (do it as a super user)"
1.7       takayama   29:        @echo "4.  build-on-redhat (do not forget to set .rpmrc)"
                     30:        @echo "5.  build-on-unkei"
                     31:        @echo "6.  copy-to-ftp-area "
1.1       takayama   32:
                     33: clean :
1.5       takayama   34:        -(cd Generic/openxm ; make clean-work)
1.1       takayama   35:        -(cd FreeBSD ; make clean)
1.2       takayama   36:        -(cd Linux/RPM ; make clean)
1.4       takayama   37:
1.7       takayama   38: print:
1.13      takayama   39:        $(PS) Makefile | $(LPR)
1.7       takayama   40:        $(PS) Generic/openxm/Makefile | $(LPR)
                     41:        $(PS) Linux/RPM/Makefile | $(LPR)
                     42:        $(PS) Linux/RPM/openxm-*spec.in | $(LPR)
                     43:        $(PS) FreeBSD/openxm-ports/openxm-1.1.2/Makefile | $(LPR)
1.9       takayama   44:        $(PS) FreeBSD/Makefile | $(LPR)
1.7       takayama   45:
                     46:
1.4       takayama   47: generate-tar-balls:
1.7       takayama   48:        -mkdir ${TAR_WORK}
1.4       takayama   49:        make clean
1.9       takayama   50:        (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball)
1.13      takayama   51:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} tar-ball-01)
1.7       takayama   52:        make update-plist
1.9       takayama   53:        (cd FreeBSD   ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port)
1.4       takayama   54:        (cd Linux/RPM ; make make-directory)
                     55:        (cd Linux/RPM ; make link-for-real-openxm)
1.2       takayama   56:
1.7       takayama   57: update-plist:
1.11      takayama   58:        (cd FreeBSD ; make VERSION=${VERSION}  TAG=${TAG} update-plist )
1.6       takayama   59:
1.7       takayama   60: build-on-orange:
1.9       takayama   61:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} binary-tar-ball)
                     62:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} shared-tar-ball)
                     63:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} clean-work)
                     64:        (cd Linux/RPM ; make  TAG=${TAG} VERSION=${VERSION} build-shared-rpm)
1.7       takayama   65:        (cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK})
                     66:
                     67: # You should be a super user.
                     68: build-on-pear:
                     69:        cp ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tar.gz /usr/ports/distfiles
1.12      takayama   70:        (cd /usr/ports/math ; /bin/rm -rf openxm ; tar xzvf ${TAR_WORK_EXPLICIT}/openxm-port.tar.gz)
                     71:        (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)
1.7       takayama   72:
                     73: build-on-redhat:
1.14    ! takayama   74:        (cd Generic/openxm ; make clean-for-make)
1.9       takayama   75:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} binary-tar-ball)
1.7       takayama   76:        (cd Linux/RPM ; make build-binary-rpm)
                     77:        (cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK})
                     78:
                     79: build-on-unkei:
1.14    ! takayama   80:        (cd Generic/openxm ; make clean-for-make)
1.9       takayama   81:        (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} binary-tar-ball)
1.7       takayama   82:
                     83: copy-to-ftp-area:
                     84:        -mkdir ${FTP_AREA}
                     85:        cp ${TAR_WORK}/openxm*rpm ${FTP_AREA}
                     86:        cp ${TAR_WORK}/openxm01-${VERSION}.tar.gz ${FTP_AREA}
                     87:        cp ${TAR_WORK}/OpenXM-*.tgz ${FTP_AREA}
                     88:        cp ${TAR_WORK}/openxm-${VERSION}.tgz ${FTP_AREA}
                     89:        ls -l ${FTP_AREA}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>