Article View: gnu.emacs.bug
Article #874Emacs installation (again)
From: Gaumond Pierre
Date: Fri, 20 Nov 1992 16:53
Date: Fri, 20 Nov 1992 16:53
27 lines
1373 bytes
1373 bytes
As I reported in a previous posting, the "mkdir" dependancy in the Makefile file
of the main directory of Emacs (18.59) distribution may fail to create
the directories if more than one element are missing in the path names.
So, I suggest to change the "mkdir" dependancy in the Makefile as follows (or
something similar):
mkdir: FRC
for file in ${LIBDIR} ${BINDIR} ${MANDIR}
do
dir=`echo $file | sed -e 's/^\([^/]*\)/.*$/\1/'`
for sub in `echo $file | tr '/' ' '`
do
dir=$dir/$sub
-mkdir $dir
done
done
NOTE:
I'm not familiar with make rules to replace variable names. Please, check if
the "$file, $dir, etc..." variables will be replaced properly by the shell
instead of make itself.
--
Pierre Gaumond. gaumondp@ERE.UMontreal.CA
Services Informatiques, Universite de Montreal.
C.P. 6128, Succursale "A", Montreal,
Quebec, Canada. H3C 3J7
Technical Details
Message-ID:
<1992Nov20.165356.5174@cc.umontreal.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ere.umontreal.CA!gaumondpShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ere.umontreal.CA!gaumondp From: gaumondp@ere.umontreal.CA (Gaumond Pierre) Subject: Emacs installation (again) Message-ID: <1992Nov20.165356.5174@cc.umontreal.ca> Keywords: installation Sender: gnulists@ai.mit.edu Organization: Universite de Montreal Distribution: gnu Date: Fri, 20 Nov 1992 16:53:56 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 29