(include "setup-helper") (setup-shared-extension-module 'cock-utils (extension-version "0.4") compile-options: '(-X cock)) ;;; Cock executable (compile "bin/cock.scm" -o cock) (install-program 'cock "cock") (remove-file* "cock") ;; By analogy with setup-helper (handle-exceptions exn (warning "Cannot copy to Chicken Home: must use CHICKEN_INCLUDE_PATH when documenting an egg using \"cock\".") (when (setup-install-mode) (copy-file "setup-helper-cock.scm" (chicken-home))))