version 1.20, 2009/02/16 08:14:33 |
version 1.42, 2019/06/12 23:59:24 |
|
|
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.19 2008/01/26 01:58:31 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.41 2019/06/12 06:42:04 takayama Exp $ |
# touch for_knoppix ; make install |
# touch for_knoppix ; make install |
# to generate a distribution for knoppix. |
# to generate a distribution for knoppix. |
#### Do not add extra spaces after the VERSION. |
#### Do not add extra spaces after the VERSION. |
VERSION=1.2.3-11 |
VERSION=1.3.3-1 |
|
|
KNOPPIX_HOME=/home/knoppix |
KNOPPIX_HOME=/home/knoppix |
LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata fctrtest fff \ |
LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata fctrtest fff \ |
Line 10 LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata f |
|
Line 10 LIBS=alpi bfct bgk const cyclic defs.h dmul fctrdata f |
|
sturm xm |
sturm xm |
# bug: md5sum is called md5 in FreeBSD. |
# bug: md5sum is called md5 in FreeBSD. |
MD5=md5sum |
MD5=md5sum |
OS=`uname -s` |
OS=`dpkg --print-architecture` |
OpenXM_HOME_=../.. |
OpenXM_HOME_=../.. |
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 |
Line 37 install-for-knoppix: |
|
Line 37 install-for-knoppix: |
|
# Recover files under FLL. |
# Recover files under FLL. |
uninstall-for-knoppix: |
uninstall-for-knoppix: |
rm -f ../../bin/asir |
rm -f ../../bin/asir |
(cd ../../bin ; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
(cd ../../bin ; ln -s ../../OpenXM_contrib2/asir2018/asir .) |
for i in ${LIBS} ; do \ |
for i in ${LIBS} ; do \ |
(cd ${OpenXM_HOME}/lib/asir ; rm -f $$i ; cp ../../../OpenXM_contrib2/asir2000/lib/$$i .) ; \ |
(cd ${OpenXM_HOME}/lib/asir ; rm -f $$i ; cp ../../../OpenXM_contrib2/asir2018/lib/$$i .) ; \ |
done |
done |
|
|
# Generating asir-Linux-... |
# Generating asir-Linux-... |
Line 48 uninstall-for-knoppix: |
|
Line 48 uninstall-for-knoppix: |
|
gentar-for-knoppix: |
gentar-for-knoppix: |
-mkdir work |
-mkdir work |
(cd work ; rm -rf *) |
(cd work ; rm -rf *) |
(cd work ; cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/asir . ) |
(cd work ; cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2018/asir . ) |
(cd work ; strip asir ; gzip asir ) |
(cd work ; strip asir ; gzip asir ) |
(cd work ; for i in ${LIBS} ; do \ |
(cd work ; for i in ${LIBS} ; do \ |
cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/lib/$$i . ; \ |
cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2018/lib/$$i . ; \ |
done ) |
done ) |
(cd work ; mv asir.gz "asir-${OS}-${VERSION}.gz") |
(cd work ; mv asir.gz "asir-${OS}-${VERSION}.gz") |
(cd work ; ${MD5} "asir-${OS}-${VERSION}.gz" | awk '{print $$1}' >distinfo-asir.md5) |
(cd work ; ${MD5} "asir-${OS}-${VERSION}.gz" | awk '{print $$1}' >distinfo-asir.md5) |