diff options
author | Norbert Preining <norbert@preining.info> | 2017-09-04 09:45:51 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2017-09-04 09:45:51 +0900 |
commit | 138f77fe71e43adc24ecb030d73df81cc5c4eb7e (patch) | |
tree | cd2d906c634149bbecd2f4bad3d540c16b23befa /texmf-dist/scripts/ketpic/setketcindy.txt | |
parent | 37bfdbee2c91bab6f0abd54503a0b9c669c9109e (diff) |
add ketpic
Diffstat (limited to 'texmf-dist/scripts/ketpic/setketcindy.txt')
-rw-r--r-- | texmf-dist/scripts/ketpic/setketcindy.txt | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketpic/setketcindy.txt b/texmf-dist/scripts/ketpic/setketcindy.txt new file mode 100644 index 00000000..0ccc37e1 --- /dev/null +++ b/texmf-dist/scripts/ketpic/setketcindy.txt @@ -0,0 +1,74 @@ +// e:2017.05.15 +//Dirhead=getdirhead(); +if(iswindows(), + Dirlib=Dirhead+"\ketlib"; + DirlibC=Dirhead+"\ketlibC"; + Dirbin=Dirhead+"\ketbin"; + Dirwork=Dirhead+"\ketwork"; + Dirwork=replace(Dirwork,"/","\"); + Libname=Dirlib+"\ketpicsciL5"; + Batparent="\kc.bat"; + if(indexof(Shellfile,".")==0,Shellfile=Shellfile+".bat"); + if(indexof(Shellfile,"/")+indexof(Shellfile,"\")==0 , + Batchild=Dirbin+"\"+Shellfile; + , + Batchild=Shellfile; + ); +); +if(ismacosx(), + Dirlib=Dirhead+"/ketlib"; + DirlibC=Dirhead+"/ketlibC"; + Dirbin=Dirhead+"/ketbin"; + Dirwork=Dirhead+"/ketwork"; + Dirwork=replace(Dirwork,"\","/"); + Libname=Dirlib+"/ketpicsciL5"; + Shellparent="/kc.sh"; + if(isstring(Shellfile), + if(indexof(Shellfile,".")==0,Shellfile=Shellfile+".sh"); + if(indexof(Shellfile,"/")==0, + Shellchild=Dirbin+"/"+Shellfile; + , + Shellchild=Shellfile; + ); + , + Shellfile=""; + ); + if(!isexists(Dirwork,""), + println(Dirwork+" not exist"); + , + if(!iskcexists(Dirwork), + setdirectory(Dirwork); + SCEOUTPUT = openfile(Shellparent); + closefile(SCEOUTPUT); + println(Shellparent+" generated"); + ); + println(setexec(Dirwork,Shellparent)); + ); + Mackc="sh"; +// Mackc="open"; +); +if(islinux(), + Dirlib=Dirhead+"/ketlib"; + DirlibC=Dirhead+"/ketlibC"; + Dirbin=Dirhead+"/ketbin"; + Dirwork=Dirhead+"/ketwork"; + Dirwork=replace(Dirwork,"\","/"); + Libname=Dirlib+"/ketpicsciL5"; + Shellparent="/kc.sh"; + if(indexof(Shellfile,".")==0,Shellfile=Shellfile+".sh"); + if(indexof(Shellfile,"/")==0, + Shellchild=Dirbin+"/"+Shellfile; + , + Shellchild=Shellfile; + ); +); + +setdirectory(Dirlib); +import("ketcindylibbasic1.cs"); +import("ketcindylibbasic2.cs"); +import("ketcindylibout.cs"); +import("ketcindylib3d.cs"); +import("ketcindylibmv.cs"); + +setdirectory(Dirhead); + |