version 1.4, 2006/02/12 12:25:42 |
version 1.6, 2006/02/13 06:34:46 |
|
|
# Do source dot.bashrc before doing something. |
# Do source dot.bashrc before doing something. |
|
|
VERSION=1.2.3-5 |
VERSION=1.2.3-6 |
# This VERSION must be compatible with debian/control ver. |
# This VERSION must be compatible with debian/control ver. |
# OpenXM/download/Makefile |
# OpenXM/download/Makefile |
# work/OpenXM/src/asir-port/Makefile |
# work/OpenXM/src/asir-port/Makefile |
|
|
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 |
|
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 |
Line 76 make-tar-ball-2: make-tar-ball-1 |
|
Line 77 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}) |
|
|
clean: clean-tilde |
clean: clean-tilde |