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

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

Fixed the .meta file to include the documentation.

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