version 1.28, 2002/09/30 02:30:38 |
version 1.34, 2003/07/21 03:19:43 |
|
|
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.27 2002/09/30 01:57:05 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Windows/Makefile,v 1.33 2003/07/20 07:30:25 takayama Exp $ |
OpenXM_TOP=../../../../OpenXM |
OpenXM_TOP=../../../../OpenXM |
ASIR_LANG=ja |
ASIR_LANG=ja |
#ASIR_LANG=en |
#ASIR_LANG=en |
Line 10 WGET_HEAD=--passive-ftp ftp://ftp:${USER}.openxm.org@f |
|
Line 10 WGET_HEAD=--passive-ftp ftp://ftp:${USER}.openxm.org@f |
|
WINASIR=c:/home/asir |
WINASIR=c:/home/asir |
|
|
usage: |
usage: |
@echo "Targets: all build-tgz clean clean-work link-for-debug" |
@echo "Targets: all build-tgz clean clean-work link-for-debug copy-to-ftp-area" |
@echo " remove-experimental gen-cd" |
@echo " remove-experimental gen-cd" |
@echo " The target all, gen-cd builds the directory OpenXM-win" |
@echo " The target all, gen-cd builds the directory OpenXM-win" |
@echo "Other targets: win-correction3, build-bat" |
@echo "Other targets: win-correction3, build-bat" |
@echo " asir-book " |
@echo " asir-book, copy-asir-book-to-ftp-area " |
|
|
clean: clean-OpenXM-win clean-asir-book |
clean: clean-OpenXM-win clean-asir-book |
clean-OpenXM-win: |
clean-OpenXM-win: |
-rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done .copy-binary-phc-done OpenXM-win.tgz .OpenXM-win.tgz.done oxasir-win.rr .copy-cygwin-dlls-done .build-binary-openxm-cygwin-done OpenXM-unix OpenXM-doc |
-rm -rf OpenXM-win .copy-binary-done .copy-binary-asir-done .copy-binary-phc-done OpenXM-win.tgz .OpenXM-win.tgz.done oxasir-win.rr .copy-cygwin-dlls-done .build-binary-openxm-cygwin-done OpenXM-unix OpenXM-doc .OpenXM-win.tgz.copy.done |
|
|
clean-work: |
clean-work: |
-rm -rf work |
-rm -rf work |
Line 45 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
Line 45 copy-binary-openxm-cygwin: build-binary-openxm-cygwin |
|
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/man . ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/src/asir-contrib src ; \ |
rsync -avz --delete --exclude CVS ../${OpenXM_TOP}/src/asir-contrib src ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
find . -name 'CVS' -print | xargs rm -rf ; \ |
|
find . -name 'DO_NOT_EDIT*' -print | xargs rm -rf ; \ |
) ; \ |
) ; \ |
cp Readme-CD/readme-ja.html OpenXM-win ; \ |
cp Readme-CD/readme-ja.html OpenXM-win ; \ |
cp Readme-CD/readme-en.html OpenXM-win ; \ |
cp Readme-CD/readme-en.html OpenXM-win ; \ |
Line 102 win-correction1: build-bat copy-cygwin-dlls |
|
Line 103 win-correction1: build-bat copy-cygwin-dlls |
|
-mkdir OpenXM-win/bin-windows |
-mkdir OpenXM-win/bin-windows |
# (cd OpenXM-win/rc ; make clean ; make) |
# (cd OpenXM-win/rc ; make clean ; make) |
win-correction2: win-correction1 |
win-correction2: win-correction1 |
|
cp oxasir-win.rr OpenXM-win/lib/sm1 |
|
cp oxasir-win.rr $(OpenXM_TOP)/lib/sm1 |
|
win-correction2_old: |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
cp OpenXM-win/lib/sm1/*.sm1 OpenXM-win/asir/bin |
Line 131 build-tgz: win-correction-clean |
|
Line 135 build-tgz: win-correction-clean |
|
|
|
copy-to-orange: build-tgz |
copy-to-orange: build-tgz |
scp OpenXM-win.tgz taka@orange:tmp3 |
scp OpenXM-win.tgz taka@orange:tmp3 |
|
copy-to-ftp-area: build-tgz |
|
if [ ! -f .OpenXM-win.tgz.copy.done ]; then \ |
|
scp OpenXM-win.tgz taka@orange:/export/home01/ftp/pub/OpenXM/Head/OpenXM-win-${ASIR_LANG}.tgz ; \ |
|
fi |
|
touch .OpenXM-win.tgz.copy.done |
|
copy-to-ftp-area-stable: build-tgz |
|
scp OpenXM-win.tgz taka@orange:/export/home01/ftp/pub/OpenXM/${VERSION}/OpenXM-win-${ASIR_LANG}.tgz |
|
|
link-for-debug: |
link-for-debug: |
(cd ${OpenXM_TOP} ; cd bin ; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
(cd ${OpenXM_TOP} ; cd bin ; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
|
|
|
|
asir-book: mkdir-asir-book copy-to-asir-book |
asir-book: mkdir-asir-book copy-to-asir-book |
clean-asir-book: |
clean-asir-book: |
-rm -rf asir-book .copy-to-asir-book-asir-bin .copy-to-asir-book-prog .copy-to-asir-book-meadow |
-rm -rf asir-book .copy-to-asir-book-asir-bin .copy-to-asir-book-prog .copy-to-asir-book-meadow asir-book-en.tgz asir-book-ja.tgz |
|
|
mkdir-asir-book: |
mkdir-asir-book: |
-(mkdir asir-book) |
-(mkdir asir-book) |
Line 180 mkdir-asir-book: |
|
Line 191 mkdir-asir-book: |
|
-(mkdir asir-book/Meadow) |
-(mkdir asir-book/Meadow) |
-(mkdir asir-book/Prog) |
-(mkdir asir-book/Prog) |
|
|
copy-to-asir-book: copy-to-asir-book-asir-bin copy-to-asir-book-prog copy-to-asir-book-meadow asir-book/index.html |
copy-to-asir-book: copy-to-asir-book-asir-bin copy-to-asir-book-prog copy-to-asir-book-meadow asir-book/readme-ja.html |
|
|
copy-to-asir-book-asir-bin: copy-binary-asir |
copy-to-asir-book-asir-bin: copy-binary-asir |
-if [ ! -f .copy-to-asir-book-asir-bin ]; then \ |
-if [ ! -f .copy-to-asir-book-asir-bin ]; then \ |
Line 214 copy-to-asir-book-meadow: |
|
Line 225 copy-to-asir-book-meadow: |
|
fi |
fi |
touch .copy-to-asir-book-meadow |
touch .copy-to-asir-book-meadow |
|
|
asir-book/index.html: Readme-CD/asir-book-index.html |
asir-book/readme-ja.html: Readme-CD/asir-book-index.html |
cp Readme-CD/asir-book-index.html asir-book/index.html |
cp Readme-CD/asir-book-index.html asir-book/readme-ja.html |
|
|
|
copy-asir-book-to-ftp-area: asir-book-${ASIR_LANG}.tgz |
|
scp asir-book-${ASIR_LANG}.tgz taka@orange:/export/home01/ftp/pub/OpenXM/asir-book |
|
asir-book-${ASIR_LANG}.tgz: asir-book |
|
tar czvf asir-book-${ASIR_LANG}.tgz --exclude Meadow asir-book |
|
|
|
|