#!/bin/bash
SRCDIR=/cygdrive/c/chicken/bin/
TARGDIR=/cygdrive/c/programs/chicken
mkdir -p $TARGDIR/{include,lib,man/man3,share/html}
for f in \
include/avcall.h \
include/callback.h \
include/vacall.h \
include/vacall_r.h \
lib/libavcall.a \
lib/libavcall.la \
lib/libcallback.a \
lib/libcallback.la \
lib/libvacall.a \
libavcall.a \
libavcall.la \
libcallback.a \
libcallback.la \
libvacall.a \
man/man3/avcall.3 \
man/man3/callback.3 \
man/man3/vacall.3 \
share/html/avcall.html \
share/html/callback.html \
share/html/vacall.html \
include/trampoline.h \
include/trampoline_r.h \
lib/libtrampoline.a \
libtrampoline.a \
man/man3/trampoline.3 \
man/man3/trampoline_r.3 \
share/html/trampoline.html \
share/html/trampoline_r.html \
;do
cp -v $SRCDIR/$f $TARGDIR/$f
done
# bin/chicken-sqlite3.exe \
for f in \
bin/libsqlite3-0.dll \
bin/sqlite3.def \
bin/sqlite3.dll \
bin/sqlite3.exe \
include/sqlite3.h \
include/sqlite3ext.h \
lib/chicken/6/sqlite3-static.o \
lib/chicken/6/sqlite3.import.so \
lib/chicken/6/sqlite3.setup-info \
lib/chicken/6/sqlite3.so \
lib/libsqlite3.a \
lib/libsqlite3.dll.a \
lib/libsqlite3.la \
lib/pkgconfig/sqlite3.pc \
share/man/man1/sqlite3.1 \
;do
cp -v /cygdrive/c/chicken/$f /cygdrive/c/programs/chicken/$f
done