version 1.24, 2010/02/16 02:49:50 |
version 1.44, 2020/02/21 01:24:12 |
|
|
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.23 2010/02/12 11:16:06 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.43 2020/02/19 00:05:36 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.3.1-3 |
VERSION=1.3.3-2 |
|
|
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/.libs/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) |