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.
This commit is contained in:
Carsten Dominik 2009-03-11 11:50:47 +01:00
parent 31b3239f08
commit d2601fc7c0
2 changed files with 16 additions and 2 deletions

View File

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

View File

@ -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}: