version 1.22, 2010/02/12 11:16:06 |
version 1.52, 2021/07/27 01:33:35 |
|
|
# Do source dot.bashrc before doing something. |
# Do source dot.bashrc before doing something. |
|
|
VERSION=1.3.1-2 |
VERSION=1.3.3-5 |
# This VERSION must be compatible with debian/control and changelog ver. |
# This VERSION must be compatible with debian/control and changelog ver. |
# use "make update-version" to update these values. |
# use "make update-version" to update these values. |
# OpenXM/download/Makefile |
# OpenXM/download/Makefile |
|
|
# (OpenXM/src/asir-port/Makefile) |
# (OpenXM/src/asir-port/Makefile) |
|
|
MD5=md5sum |
MD5=md5sum |
OS=`uname -s` |
OS=`dpkg --print-architecture` |
RSYNC=rsync -avz -e ssh |
RSYNC=rsync -avz -e ssh |
#FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix |
#FTP_DIR=/home/web/pub/OpenXM/head/knoppix |
FTP_DIR=/home/web/pub/OpenXM/head/knoppix |
FTP_DIR=/home/web/pub/OpenXM/head/knoppix |
APT_DIR=/usr/local/www/data/KnoppixMath |
APT_DIR=/usr/local/www/data/MathLibre-`dpkg --print-architecture` |
TM_OX=work/OpenXM/src/kxx/init-openxm.scm |
TM_OX=work/OpenXM/src/kxx/init-openxm.scm |
|
|
build-package: fetch make-tar-ball-2 make-tar-ball-3 |
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 -kdebian@math.kobe-u.ac.jp |
|
|
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 -kdebian@math.kobe-u.ac.jp |
|
|
fetch: |
fetch: |
if [ ! -f .fetch_done ]; then \ |
if [ ! -f .fetch_done ]; then \ |
|
|
rm -rf .TeXmacs ;\ |
rm -rf .TeXmacs ;\ |
mkdir -p .TeXmacs/plugins/ox/progs ;\ |
mkdir -p .TeXmacs/plugins/ox/progs ;\ |
mkdir -p .TeXmacs/progs ;\ |
mkdir -p .TeXmacs/progs ;\ |
|
mkdir -p .emacs.d ;\ |
cp ${TM_OX} .TeXmacs/plugins/ox/progs/init-ox.scm ;\ |
cp ${TM_OX} .TeXmacs/plugins/ox/progs/init-ox.scm ;\ |
touch .TeXmacs/progs/my-init-texmacs.scm ;\ |
touch .TeXmacs/progs/my-init-texmacs.scm ;\ |
cp work/OpenXM_contrib2/fep/feprc.sample .feprc.sample ;\ |
cp work/OpenXM_contrib2/fep/feprc.sample .feprc.sample ;\ |
tar czvf work/ox-texmacs-${OS}-${VERSION}.tar.gz ./.TeXmacs ./.feprc.sample ;\ |
cp work/OpenXM_contrib2/windows/post-msg-asirgui/asir-mode.el .emacs.d ;\ |
|
tar czvf work/ox-texmacs-${OS}-${VERSION}.tar.gz ./.TeXmacs ./.feprc.sample ./.emacs.d ;\ |
fi |
fi |
touch .make-tar-ball-3_done |
touch .make-tar-ball-3_done |
|
|
Line 106 copy-tar-ball-and-asir: make-tar-ball-2 make-tar-ball- |
|
Line 108 copy-tar-ball-and-asir: make-tar-ball-2 make-tar-ball- |
|
(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}) |
(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}_${OS}.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}) |
(cp ../openxm*deb . ; ${RSYNC} "openxm_${VERSION}_${OS}.deb" ${USER}@fe.math.kobe-u.ac.jp:${APT_DIR}) |
(cp ../openxm*dsc . ; ${RSYNC} "openxm_${VERSION}.dsc" ${USER}@fe.math.kobe-u.ac.jp:${APT_DIR}) |
(cp ../openxm*dsc . ; ${RSYNC} "openxm_${VERSION}.dsc" ${USER}@fe.math.kobe-u.ac.jp:${APT_DIR}) |
(cp ../openxm*changes . ; ${RSYNC} "openxm_${VERSION}_i386.changes" ${USER}@fe.math.kobe-u.ac.jp:${APT_DIR}) |
(cp ../openxm*changes . ; ${RSYNC} "openxm_${VERSION}_${OS}.changes" ${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 debian/.debhelper build-stamp work .*done openxm*.deb |
clean-tilde: |
clean-tilde: |
rm -rf *~ |
rm -rf *~ |
|
|
update-version: |
update-version: |
../../../../bin/oxreplace --old VERSION=1.3.1-1 --new VERSION=1.3.1-2 OpenXM/download/Makefile |
../../../../bin/oxreplace --old VERSION=1.3.3-4 --new VERSION=1.3.3-5 OpenXM/download/Makefile |
../../../../bin/oxreplace --old VERSION=1.3.1-1 --new VERSION=1.3.1-2 ../../../../src/asir-port/Makefile |
../../../../bin/oxreplace --old VERSION=1.3.3-4 --new VERSION=1.3.3-5 ../../../../src/asir-port/Makefile |
echo "make commit under OpenXM/src/asir-port and here" |
echo "make commit under OpenXM/src/asir-port and here" |