version 1.2, 2004/02/22 06:39:09 |
version 1.7, 2004/02/24 07:24:10 |
|
|
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.1 2004/02/21 12:57:32 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.6 2004/02/24 06:28:49 takayama Exp $ |
# touch for_knoppix ; make install |
# touch for_knoppix ; make install |
# to generate a distribution for knoppix. |
# to generate a distribution for knoppix. |
KNOPPIX_HOME=/home/knoppix |
KNOPPIX_HOME=/home/knoppix |
|
|
install: all |
install: all |
@echo "Installing scripts for portaging asir by downloading." |
@echo "Installing scripts for portaging asir by downloading." |
-install -m 755 asir-port.sh ../../bin |
-install -m 755 asir-port.sh ../../bin |
if [ -f ./for_knoppix ]; then make install-for-knoppix ; make copy-for-knoppix ; fi |
if [ -f ./for_knoppix ]; then make install-for-knoppix ; make gentar-for-knoppix ; echo "do make copy-for-knoppix by hand" ; fi |
|
|
# Remove files under FLL. |
# Remove files under FLL. |
install-for-knoppix: |
install-for-knoppix: |
rm -f ../../bin/asir |
rm -f ../../bin/asir |
ln -s ${KNOPPIX_HOME}/.asir-tmp/asir ../../bin/asir |
ln -s ${KNOPPIX_HOME}/.asir-tmp/asir ../../bin/asir |
for i in ${LIBS} ; do \ |
for i in ${LIBS} ; do \ |
(cd ${OpenXM_HOME_}/lib/asir ; rm -f $$i ; ln -s ${KNOPPIX_HOME}/.asir-tmp/$$i .) ; \ |
(cd ${OpenXM_HOME_}/lib/asir ; rm -f $$i ; ln -s ${KNOPPIX_HOME}/.asir-tmp/$$i .) ; \ |
Line 40 uninstall-for-knoppix: |
|
Line 40 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_}/bin/asir . ) |
(cd work ; cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/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_}/lib/asir/$$i . ; \ |
cp ../${OpenXM_HOME_}/../OpenXM_contrib2/asir2000/lib/$$i . ; \ |
done ) |
done ) |
(cd work ; ${MD5} asir.gz | awk '{print $$1}' >distinfo-asir) |
(cd work ; ${MD5} asir.gz | awk '{print $$1}' >distinfo-asir) |
(cd work ; mv asir.gz "asir-${OS}-`cat distinfo-asir`.gz") |
(cd work ; mv asir.gz "asir-${OS}-`cat distinfo-asir`.gz") |
Line 58 copy-for-knoppix: |
|
Line 58 copy-for-knoppix: |
|
(cd work ; ${RSYNC} "asir-${OS}-`cat distinfo-asir`.gz" "asirlib-${OS}-`cat distinfo-lib`.tar.gz" ${USER}@lemon.math.kobe-u.ac.jp:/home/ftp/pub/asir/knoppix/) |
(cd work ; ${RSYNC} "asir-${OS}-`cat distinfo-asir`.gz" "asirlib-${OS}-`cat distinfo-lib`.tar.gz" ${USER}@lemon.math.kobe-u.ac.jp:/home/ftp/pub/asir/knoppix/) |
|
|
clean: |
clean: |
rm -rf for_knoppix work |
|
|
|
|
rm -rf for_knoppix work |
|
|
|
clean-for-knoppix: |
|
if [ -f ./for_knoppix ]; then \ |
|
rm -f ../../lib/*.a ../../lib/libpari* ; \ |
|
rm -rf ../../lib/NTL ; \ |
|
fi |