Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Gnus installation
Date: Fri, 30 Sep 2005 10:20:29 +0900	[thread overview]
Message-ID: <b4m4q83fj1e.fsf@jpl.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Hi,

When installing Gnus, specifying no options, a lot of Lisp files
will be scattered underneath the site-lisp directory.  I considered
over ten years that it's not a good idea.  In addition to this,
there's another problem that ``./configure; make install'' will
never install .el files.  WDYT?

I made a patch for both of them.  I think a similar change should
also be applied to the v5-10 branch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1908 bytes --]

--- aclocal.m4~	2004-05-20 08:02:34 +0000
+++ aclocal.m4	2005-09-30 01:14:57 +0000
@@ -87,7 +87,7 @@
         datadir="\$(prefix)/lib"
         lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
     else
-    lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
+    lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
     fi
     for thedir in share lib; do
 	potential=
@@ -95,7 +95,7 @@
            if test "$EMACS_FLAVOR" = "xemacs"; then
 	       lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
            else
-               lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
+               lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
            fi
 	   break
 	fi
@@ -113,7 +113,7 @@
     if test "$EMACS_FLAVOR" = "xemacs"; then
       etcdir="\$(lispdir)/../../etc"
     else
-    etcdir="\$(lispdir)/../etc"
+    etcdir="\$(lispdir)/../../etc"
     fi
   fi
   AC_MSG_RESULT($etcdir)
--- lisp/Makefile.in~	2004-05-20 09:43:25 +0000
+++ lisp/Makefile.in	2005-09-30 01:14:57 +0000
@@ -29,7 +29,7 @@
 clever some l: gnus-load.el
 	$(EMACS_COMP) -f dgnushack-compile
 
-install: install-el install-elc 
+install: install-el-elc 
 
 install-el: gnus-load.el
 	$(SHELL) $(top_srcdir)/mkinstalldirs $(lispdir)
@@ -51,6 +51,21 @@
 	  $(INSTALL_DATA) $$p $(lispdir)/$$p; \
 	done
 
+install-el-elc: clever
+	rm -f dgnushack.elc
+	$(SHELL) $(top_srcdir)/mkinstalldirs $(lispdir)
+	echo " $(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el"
+	$(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el
+	for p in *.elc; do \
+	  q=`basename $$p c`; \
+	  if [ -f "$(srcdir)/$$q" ]; then \
+	    echo " $(INSTALL_DATA) $$q $(lispdir)/$$q"; \
+	    $(INSTALL_DATA) $(srcdir)/$$q $(lispdir)/$$q; \
+	  fi; \
+	  echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
+	  $(INSTALL_DATA) $$p $(lispdir)/$$p; \
+	done
+
 uninstall:
 	for p in *.elc; do \
 	  rm -f "$(lispdir)/$$p"; \

             reply	other threads:[~2005-09-30  1:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30  1:20 Katsumi Yamaoka [this message]
2005-09-30 11:39 ` Simon Josefsson
2005-09-30 13:08   ` Katsumi Yamaoka
2005-10-01 10:46     ` Simon Josefsson
2005-10-02 23:41       ` Katsumi Yamaoka
2005-10-03  0:31         ` NAKAJI Hiroyuki
2005-10-03  0:44           ` Katsumi Yamaoka
2005-10-04  9:39             ` Katsumi Yamaoka
2005-10-03  6:59         ` Adam Sjøgren
2005-10-03 11:13           ` Reiner Steib
2005-10-03  8:40         ` Simon Josefsson
     [not found]         ` <b4mbr27wkoo.fsf-NvgVpDro27E@public.gmane.org>
2005-10-03  8:40           ` Jochen Küpper
2005-10-03 16:58         ` Wes Hardaker
2005-10-03 16:59         ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4m4q83fj1e.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).