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

Diff for /OpenXM/misc/packages/Makefile between version 1.15 and 1.24

version 1.15, 2000/03/13 00:52:20 version 1.24, 2000/09/19 08:42:16
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Makefile,v 1.14 2000/03/11 11:08:30 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Makefile,v 1.23 2000/03/18 08:06:14 takayama Exp $
   
 VERSION=1.1.2  VERSION=1.1.3
 TAG=HEAD  TAG=HEAD
 ## TAG=RELEASE_1_1_2  ## TAG=RELEASE_1_1_3
   
 TAR_WORK=$(HOME)/tmp  TAR_WORK=$(HOME)/tmp
 NAME=taka  NAME=taka
Line 22  usage :
Line 22  usage :
         @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 "Put your rcvs script by the name cvs-OpenXM under your search path."
           @echo "OpenXM must be under the home directory. Otherwise, input like make OpenXM_HOME=/hoge/hoge/OpenXM ..."
         @echo "   (See Generic/openxm/Makefile for details) "          @echo "   (See Generic/openxm/Makefile for details) "
         @echo "1.  generate-tar-balls"          @echo "1.  generate-tar-balls"
         @echo "  (update-plist)"          @echo "  (update-plist)"
           @echo "  (or  generate-tar-balls-without-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 (do it as a super user)"          @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)"
Line 45  print:
Line 47  print:
         $(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)
   
   clean-Generic-openxm-work:
           -(cd Generic/openxm ; make clean-work ; make fetch)
   
 generate-tar-balls:  generate-tar-balls:
         -mkdir ${TAR_WORK}          -mkdir ${TAR_WORK}
         make clean          make clean
         (cd Linux/RPM ; make make-directory)  
         (cd Linux/RPM ; make link-for-real-openxm)  
         (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)          (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} tar-ball-01)
         make update-plist          make update-plist
Line 59  generate-tar-balls:
Line 61  generate-tar-balls:
 update-plist:  update-plist:
         (cd FreeBSD ; make VERSION=${VERSION}  TAG=${TAG} update-plist )          (cd FreeBSD ; make VERSION=${VERSION}  TAG=${TAG} update-plist )
   
   generate-tar-balls-without-update-plist:
           -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)
           (cd FreeBSD   ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port)
   
   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  # set path=(/usr/local/jdk1.1.8/bin $path) ; rehash
 build-on-orange:  # 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} 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)
         (cd Linux/RPM ; make  TAG=${TAG} VERSION=${VERSION} build-shared-rpm)          (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/i386/*.rpm ${TAR_WORK})
           -(cp Linux/RPM/work/RPMS/noarch/*.rpm ${TAR_WORK})
   
 # You should be a super user.  # You should be a super user.
 build-on-pear:  build-on-pear:
Line 73  build-on-pear:
Line 88  build-on-pear:
         (cd /usr/ports/math ; /bin/rm -rf openxm ; 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}/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)          (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: prepare-build-rpm clean-Generic-openxm-work
         (cd Generic/openxm ; make clean-for-make)          (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 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})
   
 # set path=(/usr/ccs/bin /usr/local/bin $path); rehash  # set path=(/usr/ccs/bin /usr/local/bin $path); rehash
 # (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages and make build-on-unkei  # setenv OpenXM_HOME  xxx-yyy
 build-on-unkei:  # (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages,
         (cd Generic/openxm ; make clean-for-make)  #                  setenv OpenXM_HOME $HOME/Solaris/OpenXM
         (cd Generic/openxm ; make  TAG=${TAG} VERSION=${VERSION} binary-tar-ball)  #                  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:  copy-to-ftp-area:
         -mkdir ${FTP_AREA}          -mkdir ${FTP_AREA}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.24

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