=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/Debian2/Makefile,v retrieving revision 1.4 retrieving revision 1.8 diff -u -p -r1.4 -r1.8 --- OpenXM/misc/packages/Linux/Debian2/Makefile 2006/02/12 12:25:42 1.4 +++ OpenXM/misc/packages/Linux/Debian2/Makefile 2006/10/13 03:48:44 1.8 @@ -1,16 +1,19 @@ # Do source dot.bashrc before doing something. -VERSION=1.2.3-5 +VERSION=1.2.3-8 # This VERSION must be compatible with debian/control ver. # OpenXM/download/Makefile # work/OpenXM/src/asir-port/Makefile +# (OpenXM/src/asir-port/Makefile) MD5=md5sum OS=`uname -s` 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 +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 install fakeroot dpkg-buildpackage @@ -76,9 +79,22 @@ make-tar-ball-2: make-tar-ball-1 fi 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 ; ${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}) clean: clean-tilde