🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87337

Makefile does not copy local lisp to install dir

#87337
From: Barry Bouwsma
Date: Mon, 03 Oct 1994 05:18
49 lines
2792 bytes
In GNU Emacs 19.27.1 (sparc-sun-sunos4.1.2) of Mon Oct  3 1994 on ccsun

    The Makefile as created from the furnished Makefile.in does not copy
any Lisp files one might have supplied in the site-lisp directory during
compilation to the directory where site-lisp files are to be installed.

    I made the following change to Makefile.in, which results in the
Makefile, a portion of which is shown following:


193,194c193,194
< COPYDIR = ${srcdir}/etc ${srcdir}/lisp ${srcdir}/site-lisp
< COPYDESTS = ${etcdir} ${lispdir} ${locallisppath}
---
> COPYDIR = ${srcdir}/etc ${srcdir}/lisp
> COPYDESTS = ${etcdir} ${lispdir}


    The source site-lisp directory is added to the list of directories
to be copied, and its destination, the local site-lisp directory for
installation, is also added.
    The resulting Makefile looks like this:


# Subdirectories to install, and where they'll go.
# lib-src's makefile knows how to install it, so we don't do that here.
# When installing the info files, we need to do special things to
# avoid nuking an existing dir file, so we don't do that here;
# instead, we have written out explicit code in the `install' targets.
COPYDIR = ${srcdir}/etc ${srcdir}/lisp ${srcdir}/site-lisp
COPYDESTS = ${etcdir} ${lispdir} ${locallisppath}


    This assures that local customizations will be found if not loaded
when Emacs is dumped, as can be supplied in a .emacs or default.el file.

    And a suggestion, when I first compiled Emacs with customized lisp
code for a system-wide configuration, I saw no mention of the default.el
file, and not knowing how to otherwise provide a default configuration
for all users, I provided the code in site-init.el, meaning it was dumped
with Emacs.  If a brief pointer to a system-wide default.el file, serving
a similar purpose to the .emacs file, were provided in the INSTALL text,
it might save a bit of frustration for some users who wish to provide a
system-wide configuration and would otherwise use site-load or site-init.

Thanks,
Barry Bouwsma
<barryb@ccsun.tuke.sk>
Visiting Kosice, Slovakia
Technical Details
Message-ID: <94Oct3.061352met.64548-2@ccsun.tuke.sk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ccsun.tuke.sk!barryb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f0f46e22589d2511,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-02 22:48:35 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ccsun.tuke.sk!barryb
From: barryb@ccsun.tuke.sk (Barry Bouwsma)
Newsgroups: gnu.emacs.bug
Subject: Makefile does not copy local lisp to install dir
Date: 3 Oct 1994 01:18:34 -0400
Organization: GNUs Not Usenet
Lines: 49
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <94Oct3.061352met.64548-2@ccsun.tuke.sk>