source: project/random-swb/trunk/random-swb.setup @ 8041

Last change on this file since 8041 was 8041, checked in by Ivan Raikov, 13 years ago

Bug fix in cminus; replaced values/let-values with list/match-let.

File size: 728 bytes
Line 
1
2(define has-exports? (string>=? (chicken-version) "2.310"))
3
4(define (dynld-name fn)         
5  (make-pathname #f fn ##sys#load-dynamic-extension))   
6
7(compile -O2 -d0 -e -s
8         ,@(if has-exports? '(-check-imports -emit-exports random-swb.exports) '())
9         random-swb.scm -lchicken -ldl -lm)
10
11(run (csi -qbs random-swb-eggdoc.scm > random-swb.html))
12
13(install-extension
14
15  ; Name of your extension:
16  'random-swb
17
18  ; Files to install for your extension:
19  `(,(dynld-name "random-swb") "random-swb.html"
20    ,@(if has-exports? '("random-swb.exports") (list)) )
21
22  ; Assoc list with properties for your extension:
23  '((version 1.6)
24    (documentation "random-swb.html")
25    ,@(if has-exports? `((exports "random-swb.exports")) (list)) ))
26
Note: See TracBrowser for help on using the repository browser.