From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 6/6] gnu: Add emacs-slime. Date: Sat, 09 Jan 2016 18:27:23 +0300 Message-ID: <874mempyck.fsf@gmail.com> References: <56847D01.3010702@uq.edu.au> <87egdvk6w8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHvQM-00023a-4K for guix-devel@gnu.org; Sat, 09 Jan 2016 10:27:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHvQI-0005d3-Ue for guix-devel@gnu.org; Sat, 09 Jan 2016 10:27:26 -0500 In-Reply-To: (Federico Beffa's message of "Sat, 9 Jan 2016 11:30:16 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa (2016-01-09 13:30 +0300) wrote: > On Tue, Jan 5, 2016 at 11:17 PM, Ludovic Court=C3=A8s wrot= e: >> Federico Beffa skribis: >>> + (add-before 'install 'install-doc >>> + (lambda* (#:key outputs #:allow-other-keys) >>> + (let* ((out (assoc-ref outputs "out")) >>> + (info-dir (string-append out "/share/info")) >>> + (doc-dir (string-append out "/share/doc/" >>> + ,name "-" ,version)) >>> + (doc-files '("doc/slime.pdf" "doc/slime-refcard.pd= f" >>> + "README.md" "NEWS" "PROBLEMS" >>> + "CONTRIBUTING.md"))) >>> + (with-directory-excursion "doc" >>> + (substitute* "Makefile" >>> + (("infodir=3D/usr/local/info") >>> + (string-append "infodir=3D" info-dir))) >>> + (system* "make" "all") >>> + (install-file "slime.info" info-dir) >>> + (copy-recursively "html" (string-append doc-dir "/htm= l"))) >>> + (for-each (lambda (f) >>> + (install-file f doc-dir) >>> + (delete-file f)) >>> + doc-files) >>> + (delete-file-recursively "doc") >> >> Can we build and install only Info files? This is what we usually do >> for packages that have Texinfo manuals. Incidentally, it allows us to >> get rid of the TeX Live dependency. > > I'm OK to remove slime.pdf, but the slime-refcard.pdf is quite useful. > (See mit-scheme thread for my opinion on TeXLive.) I think texlive is not needed for "slime-refcard.pdf" as this pdf is available in the source: . --=20 Alex