浏览代码

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.
Carsten Dominik 16 年之前
父节点
当前提交
d2601fc7c0
共有 2 个文件被更改,包括 16 次插入2 次删除
  1. 3 0
      Makefile
  2. 13 2
      doc/org.texi

+ 3 - 0
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)

+ 13 - 2
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}: