From d2601fc7c0180a8f74699c60a05315e9c2b522c0 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 11 Mar 2009 11:50:47 +0100 Subject: [PATCH] Installation: New makefile target for Debian info files Installation of info files works differently in Debian. There is now a new Makefile target `install-info-debian' to handle this, and this fact is mentioned in the manual as well. --- Makefile | 3 +++ doc/org.texi | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a3b904bbe..471ea6cf0 100644 --- a/Makefile +++ b/Makefile @@ -138,6 +138,9 @@ install-info: $(INFOFILES) $(CP) $(INFOFILES) $(infodir) $(INSTALL_INFO) --info-file=$(INFOFILES) --info-dir=$(infodir) +install-info-debian: $(INFOFILES) + $(INSTALL_INFO) $(INFOFILES) + install-noutline: xemacs/noutline.elc if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ; $(CP) xemacs/noutline.el xemacs/noutline.elc $(lispdir) diff --git a/doc/org.texi b/doc/org.texi index 39f9e1abd..c34fc9d99 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -517,11 +517,22 @@ make @end example @noindent If you are running Org from the distribution directory, this is -all. If you want to install into the system directories, use - +all. If you want to install into the system directories, use (as +administrator) @example make install +@end example + +Installing Info files is system dependent, because of differences in the +@file{install-info} program. In Debian it does copy the info files into the +correct directory and modifies the info directory file. In many other +systems, the files need to be copied to the correct directory separately, and +@file{install-info} then only modifies the directory file. Check your system +documentation to find out which of the following commands you need: + +@example make install-info +make install-info-debian @end example @noindent Then add to @file{.emacs}: