Fix installation of the info file.

Following a suggestion by Peter K. Monsson.
This commit is contained in:
Carsten Dominik 2008-09-24 15:20:33 +02:00
parent 68faba083f
commit 2fbbc09767
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-09-24 Carsten Dominik <dominik@science.uva.nl>
* Makefile (install-info): Use the install-info program.
2008-09-17 Carsten Dominik <dominik@science.uva.nl>
* Makefile: Handle new file org-plot.el.

View File

@ -52,6 +52,9 @@ TEXI2HTML = makeinfo --html --number-sections
# How to copy the lisp files and elc files to their distination.
CP = cp -p
# Name of the program to install info files
INSTALL_INFO=install-info
##----------------------------------------------------------------------
## BELOW THIS LINE ON YOUR OWN RISK!
##----------------------------------------------------------------------
@ -127,8 +130,7 @@ install-lisp: $(LISPFILES) $(ELCFILES)
$(CP) $(ELCFILES) $(lispdir)
install-info: $(INFOFILES)
if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ;
$(CP) $(INFOFILES) $(infodir)
$(INSTALL_INFO) --info-file=$(INFOFILES) --info-dir=$(infodir)
install-noutline: xemacs/noutline.elc
if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;