Le 14 nov. 03, à 20:47, bernauer@informatik.uni-tuebingen.de a écrit :
Michel Schinz wrote:
----------------------------------------------------------------------
(define-package "sunet" (2 0)
(install-directories '("doc" "ftpd" "httpd" "lib"))
(install-file "packages.scm"))
----------------------------------------------------------------------
The web-server directory and the files in the top-level like COPYING
are missing just because this is a simple example, right?
It's more because I was careless, to be honest. These files should be
installed, definitely (although I'm not sure that COPYING should be
included in the list of files to install, but that's anyway none of my
business in that case).
(define (active-link-name root pkg)
(absolute-file-name (package:name pkg) (active-directory root)))
I'd like to have the links relative to the active directory rather
than absolute, so I can move the root-directory somewhere else
(pack-and-go :-) without having to relink everything.
Good idea. I changed the definition of "activate-package" so that it
creates relative links only.
Thanks,
Michel.
|