scsh-hackers
[Top] [All Lists]

Re: [Scsh-hackers] Library to ease package installation

To: bernauer@informatik.uni-tuebingen.de
Subject: Re: [Scsh-hackers] Library to ease package installation
From: Michel Schinz <Michel.Schinz@epfl.ch>
Date: Sun Nov 16 06:46:22 2003
Cc: scsh-hackers@lists.sourceforge.net
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
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.



<Prev in Thread] Current Thread [Next in Thread>