Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus installation
@ 2005-09-30  1:20 Katsumi Yamaoka
  2005-09-30 11:39 ` Simon Josefsson
  0 siblings, 1 reply; 14+ messages in thread
From: Katsumi Yamaoka @ 2005-09-30  1:20 UTC (permalink / 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"; \

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-10-04  9:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-30  1:20 Gnus installation Katsumi Yamaoka
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

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).