Artifact 37e03e7cd14b1f489410b99ac854078906da991a:


0000: 23 21 2f 62 69 6e 2f 62 61 73 68 0a 0a 53 52 43  #!/bin/bash..SRC
0010: 44 49 52 3d 2f 63 79 67 64 72 69 76 65 2f 63 2f  DIR=/cygdrive/c/
0020: 63 68 69 63 6b 65 6e 2f 62 69 6e 2f 0a 54 41 52  chicken/bin/.TAR
0030: 47 44 49 52 3d 2f 63 79 67 64 72 69 76 65 2f 63  GDIR=/cygdrive/c
0040: 2f 70 72 6f 67 72 61 6d 73 2f 63 68 69 63 6b 65  /programs/chicke
0050: 6e 0a 0a 6d 6b 64 69 72 20 2d 70 20 24 54 41 52  n..mkdir -p $TAR
0060: 47 44 49 52 2f 7b 69 6e 63 6c 75 64 65 2c 6c 69  GDIR/{include,li
0070: 62 2c 6d 61 6e 2f 6d 61 6e 33 2c 73 68 61 72 65  b,man/man3,share
0080: 2f 68 74 6d 6c 7d 0a 0a 66 6f 72 20 66 20 69 6e  /html}..for f in
0090: 20 5c 0a 69 6e 63 6c 75 64 65 2f 61 76 63 61 6c   \.include/avcal
00a0: 6c 2e 68 20 20 20 20 20 20 5c 0a 69 6e 63 6c 75  l.h      \.inclu
00b0: 64 65 2f 63 61 6c 6c 62 61 63 6b 2e 68 20 20 20  de/callback.h   
00c0: 20 5c 0a 69 6e 63 6c 75 64 65 2f 76 61 63 61 6c   \.include/vacal
00d0: 6c 2e 68 20 20 20 20 20 20 5c 0a 69 6e 63 6c 75  l.h      \.inclu
00e0: 64 65 2f 76 61 63 61 6c 6c 5f 72 2e 68 20 20 20  de/vacall_r.h   
00f0: 20 5c 0a 6c 69 62 2f 6c 69 62 61 76 63 61 6c 6c   \.lib/libavcall
0100: 2e 61 09 20 20 20 20 20 20 5c 0a 6c 69 62 2f 6c  .a.      \.lib/l
0110: 69 62 61 76 63 61 6c 6c 2e 6c 61 20 20 20 20 20  ibavcall.la     
0120: 20 5c 0a 6c 69 62 2f 6c 69 62 63 61 6c 6c 62 61   \.lib/libcallba
0130: 63 6b 2e 61 20 20 20 20 20 5c 0a 6c 69 62 2f 6c  ck.a     \.lib/l
0140: 69 62 63 61 6c 6c 62 61 63 6b 2e 6c 61 20 20 20  ibcallback.la   
0150: 20 5c 0a 6c 69 62 2f 6c 69 62 76 61 63 61 6c 6c   \.lib/libvacall
0160: 2e 61 09 20 20 20 20 20 20 5c 0a 6c 69 62 61 76  .a.      \.libav
0170: 63 61 6c 6c 2e 61 09 20 20 20 20 20 20 5c 0a 6c  call.a.      \.l
0180: 69 62 61 76 63 61 6c 6c 2e 6c 61 09 20 20 20 20  ibavcall.la.    
0190: 20 20 5c 0a 6c 69 62 63 61 6c 6c 62 61 63 6b 2e    \.libcallback.
01a0: 61 09 20 20 20 20 20 20 5c 0a 6c 69 62 63 61 6c  a.      \.libcal
01b0: 6c 62 61 63 6b 2e 6c 61 09 20 20 20 20 20 20 5c  lback.la.      \
01c0: 0a 6c 69 62 76 61 63 61 6c 6c 2e 61 09 20 20 20  .libvacall.a.   
01d0: 20 20 20 5c 0a 6d 61 6e 2f 6d 61 6e 33 2f 61 76     \.man/man3/av
01e0: 63 61 6c 6c 2e 33 20 20 20 20 20 5c 0a 6d 61 6e  call.3     \.man
01f0: 2f 6d 61 6e 33 2f 63 61 6c 6c 62 61 63 6b 2e 33  /man3/callback.3
0200: 20 20 20 5c 0a 6d 61 6e 2f 6d 61 6e 33 2f 76 61     \.man/man3/va
0210: 63 61 6c 6c 2e 33 20 20 20 20 20 5c 0a 73 68 61  call.3     \.sha
0220: 72 65 2f 68 74 6d 6c 2f 61 76 63 61 6c 6c 2e 68  re/html/avcall.h
0230: 74 6d 6c 20 5c 0a 73 68 61 72 65 2f 68 74 6d 6c  tml \.share/html
0240: 2f 63 61 6c 6c 62 61 63 6b 2e 68 74 6d 6c 20 5c  /callback.html \
0250: 0a 73 68 61 72 65 2f 68 74 6d 6c 2f 76 61 63 61  .share/html/vaca
0260: 6c 6c 2e 68 74 6d 6c 20 5c 0a 69 6e 63 6c 75 64  ll.html \.includ
0270: 65 2f 74 72 61 6d 70 6f 6c 69 6e 65 2e 68 20 20  e/trampoline.h  
0280: 20 20 20 20 20 20 5c 0a 69 6e 63 6c 75 64 65 2f        \.include/
0290: 74 72 61 6d 70 6f 6c 69 6e 65 5f 72 2e 68 09 20  trampoline_r.h. 
02a0: 20 20 20 5c 0a 6c 69 62 2f 6c 69 62 74 72 61 6d     \.lib/libtram
02b0: 70 6f 6c 69 6e 65 2e 61 09 20 20 20 20 5c 0a 6c  poline.a.    \.l
02c0: 69 62 74 72 61 6d 70 6f 6c 69 6e 65 2e 61 09 09  ibtrampoline.a..
02d0: 20 20 20 20 5c 0a 6d 61 6e 2f 6d 61 6e 33 2f 74      \.man/man3/t
02e0: 72 61 6d 70 6f 6c 69 6e 65 2e 33 09 20 20 20 20  rampoline.3.    
02f0: 5c 0a 6d 61 6e 2f 6d 61 6e 33 2f 74 72 61 6d 70  \.man/man3/tramp
0300: 6f 6c 69 6e 65 5f 72 2e 33 09 20 20 20 20 5c 0a  oline_r.3.    \.
0310: 73 68 61 72 65 2f 68 74 6d 6c 2f 74 72 61 6d 70  share/html/tramp
0320: 6f 6c 69 6e 65 2e 68 74 6d 6c 20 20 5c 0a 73 68  oline.html  \.sh
0330: 61 72 65 2f 68 74 6d 6c 2f 74 72 61 6d 70 6f 6c  are/html/trampol
0340: 69 6e 65 5f 72 2e 68 74 6d 6c 20 5c 0a 3b 64 6f  ine_r.html \.;do
0350: 0a 63 70 20 2d 76 20 24 53 52 43 44 49 52 2f 24  .cp -v $SRCDIR/$
0360: 66 20 24 54 41 52 47 44 49 52 2f 24 66 0a 64 6f  f $TARGDIR/$f.do
0370: 6e 65 0a 0a 23 20 62 69 6e 2f 63 68 69 63 6b 65  ne..# bin/chicke
0380: 6e 2d 73 71 6c 69 74 65 33 2e 65 78 65 20 20 20  n-sqlite3.exe   
0390: 20 20 20 20 20 20 20 20 20 5c 0a 0a 66 6f 72 20           \..for 
03a0: 66 20 69 6e 20 5c 0a 62 69 6e 2f 6c 69 62 73 71  f in \.bin/libsq
03b0: 6c 69 74 65 33 2d 30 2e 64 6c 6c 09 09 20 20 20  lite3-0.dll..   
03c0: 5c 0a 62 69 6e 2f 73 71 6c 69 74 65 33 2e 64 65  \.bin/sqlite3.de
03d0: 66 09 09 09 20 20 20 5c 0a 62 69 6e 2f 73 71 6c  f...   \.bin/sql
03e0: 69 74 65 33 2e 64 6c 6c 09 09 09 20 20 20 5c 0a  ite3.dll...   \.
03f0: 62 69 6e 2f 73 71 6c 69 74 65 33 2e 65 78 65 09  bin/sqlite3.exe.
0400: 09 09 20 20 20 5c 0a 69 6e 63 6c 75 64 65 2f 73  ..   \.include/s
0410: 71 6c 69 74 65 33 2e 68 09 09 20 20 20 5c 0a 69  qlite3.h..   \.i
0420: 6e 63 6c 75 64 65 2f 73 71 6c 69 74 65 33 65 78  nclude/sqlite3ex
0430: 74 2e 68 09 09 20 20 20 5c 0a 6c 69 62 2f 63 68  t.h..   \.lib/ch
0440: 69 63 6b 65 6e 2f 36 2f 73 71 6c 69 74 65 33 2d  icken/6/sqlite3-
0450: 73 74 61 74 69 63 2e 6f 09 20 20 20 5c 0a 6c 69  static.o.   \.li
0460: 62 2f 63 68 69 63 6b 65 6e 2f 36 2f 73 71 6c 69  b/chicken/6/sqli
0470: 74 65 33 2e 69 6d 70 6f 72 74 2e 73 6f 09 20 20  te3.import.so.  
0480: 20 5c 0a 6c 69 62 2f 63 68 69 63 6b 65 6e 2f 36   \.lib/chicken/6
0490: 2f 73 71 6c 69 74 65 33 2e 73 65 74 75 70 2d 69  /sqlite3.setup-i
04a0: 6e 66 6f 20 20 20 5c 0a 6c 69 62 2f 63 68 69 63  nfo   \.lib/chic
04b0: 6b 65 6e 2f 36 2f 73 71 6c 69 74 65 33 2e 73 6f  ken/6/sqlite3.so
04c0: 09 20 20 20 5c 0a 6c 69 62 2f 6c 69 62 73 71 6c  .   \.lib/libsql
04d0: 69 74 65 33 2e 61 09 09 20 20 20 5c 0a 6c 69 62  ite3.a..   \.lib
04e0: 2f 6c 69 62 73 71 6c 69 74 65 33 2e 64 6c 6c 2e  /libsqlite3.dll.
04f0: 61 09 09 20 20 20 5c 0a 6c 69 62 2f 6c 69 62 73  a..   \.lib/libs
0500: 71 6c 69 74 65 33 2e 6c 61 09 09 20 20 20 5c 0a  qlite3.la..   \.
0510: 6c 69 62 2f 70 6b 67 63 6f 6e 66 69 67 2f 73 71  lib/pkgconfig/sq
0520: 6c 69 74 65 33 2e 70 63 09 20 20 20 5c 0a 73 68  lite3.pc.   \.sh
0530: 61 72 65 2f 6d 61 6e 2f 6d 61 6e 31 2f 73 71 6c  are/man/man1/sql
0540: 69 74 65 33 2e 31 20 20 20 20 20 20 20 20 20 20  ite3.1          
0550: 20 5c 0a 3b 64 6f 0a 63 70 20 2d 76 20 2f 63 79   \.;do.cp -v /cy
0560: 67 64 72 69 76 65 2f 63 2f 63 68 69 63 6b 65 6e  gdrive/c/chicken
0570: 2f 24 66 20 2f 63 79 67 64 72 69 76 65 2f 63 2f  /$f /cygdrive/c/
0580: 70 72 6f 67 72 61 6d 73 2f 63 68 69 63 6b 65 6e  programs/chicken
0590: 2f 24 66 0a 64 6f 6e 65 0a                       /$f.done.