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

Diff for /OpenXM/misc/packages/Linux/Debian2/Makefile between version 1.4 and 1.11

version 1.4, 2006/02/12 12:25:42 version 1.11, 2007/08/23 08:32:26
Line 1 
Line 1 
 # Do source dot.bashrc before doing something.  # Do source dot.bashrc before doing something.
   
 VERSION=1.2.3-5  VERSION=1.2.3-9
 # This VERSION must be compatible with debian/control ver.  # This VERSION must be compatible with debian/control ver.
   #   use "make update-version" to update these values.
 #                                OpenXM/download/Makefile  #                                OpenXM/download/Makefile
 #                                work/OpenXM/src/asir-port/Makefile  #                                work/OpenXM/src/asir-port/Makefile
   #                                    (OpenXM/src/asir-port/Makefile)
   
 MD5=md5sum  MD5=md5sum
 OS=`uname -s`  OS=`uname -s`
 RSYNC=rsync -avz -e ssh  RSYNC=rsync -avz -e ssh
 FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix  #FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix
   FTP_DIR=/home/web/pub/OpenXM/head/knoppix
   APT_DIR=/usr/local/www/data/nobuki/DVD3
   TM_OX=work/OpenXM/src/kxx/init-openxm.scm
   
 build-package: fetch  make-tar-ball-2  build-package: fetch  make-tar-ball-2  make-tar-ball-3
         fakeroot debian/rules build          fakeroot debian/rules build
         fakeroot debian/rules install          fakeroot debian/rules install
         fakeroot dpkg-buildpackage          fakeroot dpkg-buildpackage -uc -us
   
 build-deb:  build-deb:
         fakeroot debian/rules build          fakeroot debian/rules build
         fakeroot debian/rules install          fakeroot debian/rules install
         fakeroot dpkg-buildpackage          fakeroot dpkg-buildpackage -uc -us
   
 fetch:  fetch:
         if [ ! -f .fetch_done ]; then \          if [ ! -f .fetch_done ]; then \
Line 63  BINARY_FILES=d0 fep k0 ox ox100start ox_k0 ox_sm1 ox_t
Line 68  BINARY_FILES=d0 fep k0 ox ox100start ox_k0 ox_sm1 ox_t
 EXCLUDE_FILES=--exclude CVS --exclude .keep_me \  EXCLUDE_FILES=--exclude CVS --exclude .keep_me \
               --exclude-from ../exclude-files.txt                --exclude-from ../exclude-files.txt
 FILES=OpenXM/Copyright OpenXM/bin OpenXM/include \  FILES=OpenXM/Copyright OpenXM/bin OpenXM/include \
       OpenXM/lib OpenXM/man OpenXM/rc        OpenXM/lib OpenXM/man OpenXM/rc \
         OpenXM/doc/asir-contrib \
         OpenXM/doc/kan96xx \
         OpenXM/doc/asir2000 \
         OpenXM/doc/ox_toolkit \
         OpenXM/doc/oxlib \
         OpenXM/doc/OpenXM-specs
   
 make-tar-ball-2: make-tar-ball-1  make-tar-ball-2: make-tar-ball-1
         if [ ! -f .make-tar-ball-2_done ]; then \          if [ ! -f .make-tar-ball-2_done ]; then \
Line 76  make-tar-ball-2: make-tar-ball-1
Line 87  make-tar-ball-2: make-tar-ball-1
         fi          fi
         touch .make-tar-ball-2_done          touch .make-tar-ball-2_done
   
 copy-tar-ball-and-asir: make-tar-ball-2  ##cf.misc-2004/A2/knoppix-2005/Makefile. There is no fix on .asirrc this time.
   make-tar-ball-3:
           if [ ! -f .make-tar-ball-3_done ]; then \
             rm -rf .TeXmacs ;\
             mkdir -p .TeXmacs/plugins/ox/progs ;\
             mkdir -p .TeXmacs/progs ;\
             cp ${TM_OX} .TeXmacs/plugins/ox/progs/init-ox.scm ;\
             touch .TeXmacs/progs/my-init-texmacs.scm ;\
             tar czvf work/ox-texmacs-${OS}-${VERSION}.tar.gz ./.TeXmacs  ;\
           fi
           touch .make-tar-ball-3_done
   
   copy-tar-ball-and-asir: make-tar-ball-2 make-tar-ball-3
         (cd work/OpenXM/src/asir-port ; make copy-for-knoppix)          (cd work/OpenXM/src/asir-port ; make copy-for-knoppix)
         (cd work ;  ${RSYNC} "openxm-binary-${OS}-${VERSION}.tar.gz" ${USER}@lemon.math.kobe-u.ac.jp:${FTP_DIR})          (cd work ;  ${RSYNC} "openxm-binary-${OS}-${VERSION}.tar.gz" ${USER}@lemon.math.kobe-u.ac.jp:${FTP_DIR})
           (cd work ;  ${RSYNC} "ox-texmacs-${OS}-${VERSION}.tar.gz" ${USER}@lemon.math.kobe-u.ac.jp:${FTP_DIR})
         (cp ../openxm*deb . ;  ${RSYNC} "openxm_${VERSION}_i386.deb" ${USER}@lemon.math.kobe-u.ac.jp:${FTP_DIR})          (cp ../openxm*deb . ;  ${RSYNC} "openxm_${VERSION}_i386.deb" ${USER}@lemon.math.kobe-u.ac.jp:${FTP_DIR})
           (cp ../openxm*deb . ;  ${RSYNC} "openxm_${VERSION}_i386.deb" ${USER}@fe.math.kobe-u.ac.jp:${APT_DIR})
   
 clean: clean-tilde  clean: clean-tilde
         rm -rf debian/tmp build-stamp work .*done openxm*.deb          rm -rf debian/tmp build-stamp work .*done openxm*.deb
 clean-tilde:  clean-tilde:
         rm -rf *~  
   
           rm -rf *~
   
   update-version:
           oxreplace --old VERSION=1.2.3-8 --new VERSION=1.2.3-9 OpenXM/download/Makefile
           oxreplace --old VERSION=1.2.3-8 --new VERSION=1.2.3-9 ../../../../src/asir-port/Makefile
           echo "make commit under OpenXM/src/asir-port and here"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.11

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