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

Diff for /OpenXM/misc/packages/Makefile between version 1.3 and 1.22

version 1.3, 2000/03/10 10:34:47 version 1.22, 2000/03/16 12:23:01
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Makefile,v 1.2 2000/03/09 09:26:24 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Makefile,v 1.21 2000/03/16 08:45:49 takayama Exp $
   
   VERSION=1.1.2
   TAG=HEAD
   ## TAG=RELEASE_1_1_2
   
   TAR_WORK=$(HOME)/tmp
   NAME=taka
   # It must be equal to TAR_WORK. To work as a super user. Used in build-on-pear.
   TAR_WORK_EXPLICIT=/home/${NAME}/tmp
   JDK=jdk1.1.8
   FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION}
   ## 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
Line 8  usage :
Line 20  usage :
         @echo "Targets "          @echo "Targets "
         @echo "  clean "          @echo "  clean "
         @echo "  print "          @echo "  print "
           @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 "  (update-plist)"
           @echo "2.  build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)"
           @echo "3.  build-on-pear (do it as a super user)"
           @echo "4.  build-on-redhat (do not forget to set .rpmrc)"
           @echo "5.  build-on-unkei"
           @echo "6.  copy-to-ftp-area "
   
 clean :  clean :
         -(cd Generic/openxm ; make clean)          -(cd Generic/openxm ; make clean-work)
         -(cd FreeBSD ; make clean)          -(cd FreeBSD ; make clean)
         -(cd Linux/RPM ; make clean)          -(cd Linux/RPM ; make clean)
   
 print:  print:
           $(PS) Makefile | $(LPR)
           $(PS) README | $(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)
   
   clean-Generic-openxm-work:
           -(cd Generic/openxm ; make clean-work ; make fetch)
   
   generate-tar-balls:
           -mkdir ${TAR_WORK}
           make clean
           (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball)
           (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} tar-ball-01)
           make update-plist
           (cd FreeBSD   ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port)
   
   update-plist:
           (cd FreeBSD ; make VERSION=${VERSION}  TAG=${TAG} update-plist )
   
   prepare-build-rpm:
           (cd Linux/RPM ; make make-directory)
           (cd Linux/RPM ; make link-for-real-openxm)
   
   # set path=(/usr/local/jdk1.1.8/bin $path) ; rehash
   # build-on-orange should depend on clean-Generic-openxm-work in a future.
   build-on-orange: prepare-build-rpm
           (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} clean-work)
           (cd Linux/RPM ; make  TAG=${TAG} VERSION=${VERSION} build-shared-rpm)
           -(cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK})
           -(cp Linux/RPM/work/RPMS/noarch/*.rpm ${TAR_WORK})
   
   # You should be a super user.
   build-on-pear:
           cp ${TAR_WORK_EXPLICIT}/openxm-${VERSION}.tar.gz /usr/ports/distfiles
           (cd /usr/ports/math ; /bin/rm -rf openxm ; tar xzvf ${TAR_WORK_EXPLICIT}/openxm-port.tar.gz)
           (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: prepare-build-rpm clean-Generic-openxm-work
           (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} TAR_WORK=${TAR_WORK} tar-ball)
           (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} binary-tar-ball)
           (cd Linux/RPM ; make build-binary-rpm)
           (cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK})
   
   # set path=(/usr/ccs/bin /usr/local/bin $path); rehash
   # setenv OpenXM_HOME  xxx-yyy
   # (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages,
   #                  setenv OpenXM_HOME $HOME/Solaris/OpenXM
   #                  and make OpenXM_HOME=$OpenXM_HOME build-on-unkei
   build-on-unkei: clean-Generic-openxm-work
           (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} OpenXM_HOME=${OpenXM_HOME} binary-tar-ball)
   
   copy-to-ftp-area:
           -mkdir ${FTP_AREA}
           cp ${TAR_WORK}/openxm*rpm ${FTP_AREA}
           cp ${TAR_WORK}/openxm01-${VERSION}.tar.gz ${FTP_AREA}
           cp ${TAR_WORK}/OpenXM-*.tgz ${FTP_AREA}
           cp ${TAR_WORK}/openxm-${VERSION}.tgz ${FTP_AREA}
           ls -l ${FTP_AREA}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.22

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