guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] gnu: Add emacs-slime.


From: Alex Kost
Subject: Re: [PATCH 6/6] gnu: Add emacs-slime.
Date: Sat, 09 Jan 2016 18:27:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Federico Beffa (2016-01-09 13:30 +0300) wrote:

> On Tue, Jan 5, 2016 at 11:17 PM, Ludovic Courtès <address@hidden> wrote:
>> Federico Beffa <address@hidden> 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.pdf"
>>> +                                 "README.md" "NEWS" "PROBLEMS"
>>> +                                 "CONTRIBUTING.md")))
>>> +               (with-directory-excursion "doc"
>>> +                 (substitute* "Makefile"
>>> +                   (("infodir=/usr/local/info")
>>> +                    (string-append "infodir=" info-dir)))
>>> +                 (system* "make" "all")
>>> +                 (install-file "slime.info" info-dir)
>>> +                 (copy-recursively "html" (string-append doc-dir "/html")))
>>> +               (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: <https://github.com/slime/slime/tree/master/doc>.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]