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

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

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

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