version 1.5, 2004/02/24 06:15:22 |
version 1.10, 2006/02/06 04:51:51 |
|
|
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.4 2004/02/24 00:37:28 takayama Exp $ |
# $OpenXM: OpenXM/src/asir-port/Makefile,v 1.9 2005/02/03 05:17:33 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 |
|
|
OS=`uname -s` |
OS=`uname -s` |
OpenXM_HOME_=../.. |
OpenXM_HOME_=../.. |
RSYNC=rsync -avz -e ssh |
RSYNC=rsync -avz -e ssh |
|
FTP_DIR=/home/ftp/pub/asir/knoppix-all/knoppix-2006-02 |
|
|
all: |
all: |
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 ; echo "do make copy-for-knoppix by hand" ; fi |
-install -m 755 asir-install.sh ../../bin |
|
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: |
Line 55 gentar-for-knoppix: |
|
Line 57 gentar-for-knoppix: |
|
|
|
copy-for-knoppix: |
copy-for-knoppix: |
if [ ! -d work ]; then make gentar-for-knoppix ; fi |
if [ ! -d work ]; then make gentar-for-knoppix ; fi |
(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:${FTP_DIR}) |
|
|
clean: |
clean: |
rm -rf for_knoppix work |
rm -rf for_knoppix work |
|
|
clean-for-knoppix: |
clean-for-knoppix: |
if [ -f ./for_knoppix ]; then \ |
if [ -f ./for_knoppix ]; then \ |
rm -f ../../lib/*.a ../../lib/libpari*.a* ; \ |
rm -f ../../lib/*.a ../../lib/libpari* ; \ |
rm -rf ../../lib/NTL ; \ |
rm -rf ../../lib/NTL ; \ |
fi |
fi |