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

Diff for /OpenXM/misc/packages/Makefile between version 1.6 and 1.7

version 1.6, 2000/03/11 02:01:39 version 1.7, 2000/03/11 02:45:52
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Makefile,v 1.5 2000/03/10 14:26:51 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Makefile,v 1.6 2000/03/11 02:01:39 takayama Exp $
   
   VERSION=1.1.2
   TAR_WORK=$(HOME)/tmp
   NAME=taka
   TAR_WORK_EXPLICIT=/home/${NAME}/tmp
   JDK=jdk1.1.8
   FTP_AREA=/home/ftp/pub/OpenXM/${VERSION}
   
   
 # Modify below for priting.  # Modify below for priting.
 PS=a2ps-j  PS=a2ps-j
 LPR=lpr -Pdousan  LPR=lpr -Pdousan
Line 8  usage :
Line 16  usage :
         @echo "Targets "          @echo "Targets "
         @echo "  clean "          @echo "  clean "
         @echo "  print "          @echo "  print "
           @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"
           @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-work)          -(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:
           $(PS) Generic/openxm/Makefile | $(LPR)
           $(PS) Linux/RPM/Makefile | $(LPR)
           $(PS) Linux/RPM/openxm-*spec.in | $(LPR)
           $(PS) FreeBSD/openxm-ports/openxm-1.1.2/Makefile | $(LPR)
   
   
 generate-tar-balls:  generate-tar-balls:
           -mkdir ${TAR_WORK}
         make clean          make clean
         (cd Generic/openxm ; make tar-ball)          (cd Generic/openxm ; make tar-ball)
         (cd FreeBSD/openxm-1.1.2 ; make make-tar-ball-for-openxm-port)          make update-plist
           (cd FreeBSD/openxm-${VERSION} ; make 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)
   
 print:  update-plist:
         $(PS) Generic/openxm/Makefile | $(LPR)          (cd FreeBSD ; make VERSION=${VERSION} update-plist )
         $(PS) Linux/RPM/Makefile | $(LPR)  
         $(PS) Linux/RPM/openxm-*spec.in | $(LPR)  
         $(PS) FreeBSD/openxm-ports/openxm-1.1.2/Makefile | $(LPR)  
   
   build-on-orange:
           (cd Generic/openxm ; make tar-ball-01)
           (cd Generic/openxm ; make binary-tar-ball)
           (cd Generic/openxm ; make shared-tar-ball)
           (cd Generic/openxm ; make clean-work)
           (cd Linux/RPM ; make build-shared-rpm)
           (cp Linux/RPM/work/RPMS/i386/*.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 ; 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)
   
   build-on-redhat:
           (cd Generic/openxm ; make binary-tar-ball)
           (cd Linux/RPM ; make build-binary-rpm)
           (cp Linux/RPM/work/RPMS/i386/*.rpm ${TAR_WORK})
   
   build-on-unkei:
           (cd Generic/openxm ; make 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.6  
changed lines
  Added in v.1.7

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