home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / bug / 1500 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.3 KB  |  43 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!ere.umontreal.CA!gaumondp
  3. From: gaumondp@ere.umontreal.CA (Gaumond Pierre)
  4. Subject: Emacs installation (again)
  5. Message-ID: <1992Nov20.165356.5174@cc.umontreal.ca>
  6. Keywords: installation
  7. Sender: gnulists@ai.mit.edu
  8. Organization: Universite de Montreal
  9. Distribution: gnu
  10. Date: Fri, 20 Nov 1992 16:53:56 GMT
  11. Approved: bug-gnu-emacs@prep.ai.mit.edu
  12. Lines: 29
  13.  
  14. As I reported in a previous posting, the "mkdir" dependancy in the Makefile file
  15. of the main directory of Emacs (18.59) distribution may fail to create
  16. the directories if more than one element are missing in the path names.
  17.  
  18. So, I suggest to change the "mkdir" dependancy in the Makefile as follows (or
  19. something similar):
  20.  
  21. mkdir: FRC
  22.     for file in ${LIBDIR} ${BINDIR} ${MANDIR}
  23.     do
  24.       dir=`echo $file | sed -e 's/^\([^/]*\)/.*$/\1/'`
  25.       for sub in `echo $file | tr '/' ' '`
  26.       do
  27.         dir=$dir/$sub
  28.         -mkdir $dir
  29.       done
  30.     done
  31.  
  32. NOTE:
  33. I'm not familiar with make rules to replace variable names. Please, check if
  34. the "$file, $dir, etc..." variables will be replaced properly by the shell
  35. instead of make itself.
  36. -- 
  37. Pierre Gaumond.        gaumondp@ERE.UMontreal.CA
  38. Services Informatiques, Universite de Montreal. 
  39. C.P. 6128, Succursale "A", Montreal,            
  40. Quebec, Canada.   H3C 3J7                       
  41.  
  42.  
  43.