comparison Makefile.in @ 8163:d836abb05e48

(mkdir, removenullpaths): Put g in sed replace commands.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 Jul 1994 02:44:58 +0000
parents 022727dbe5f3
children b7e668cac751
comparison
equal deleted inserted replaced
8162:a24fad61dbac 8163:d836abb05e48
195 COPYDIR = ${srcdir}/etc ${srcdir}/lisp 195 COPYDIR = ${srcdir}/etc ${srcdir}/lisp
196 COPYDESTS = ${etcdir} ${lispdir} 196 COPYDESTS = ${etcdir} ${lispdir}
197 197
198 all: paths-force ${SUBDIR} 198 all: paths-force ${SUBDIR}
199 199
200 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/' 200 removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
201 201
202 # Note that sed is not in /bin on 386bsd. 202 # Note that sed is not in /bin on 386bsd.
203 src/paths.h: Makefile ${srcdir}/src/paths.h.in 203 src/paths.h: Makefile ${srcdir}/src/paths.h.in
204 @echo "Producing \`src/paths.h' from \`src/paths.h.in'." 204 @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
205 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ 205 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
350 ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path 350 ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use make-path
351 ### instead of mkdir. Not all systems' mkdirs have the `-p' flag. 351 ### instead of mkdir. Not all systems' mkdirs have the `-p' flag.
352 mkdir: FRC.mkdir 352 mkdir: FRC.mkdir
353 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \ 353 ./lib-src/make-path ${COPYDESTS} ${lockdir} ${infodir} ${mandir} \
354 ${bindir} ${datadir} ${docdir} ${libdir} \ 354 ${bindir} ${datadir} ${docdir} ${libdir} \
355 `echo ${locallisppath} | sed 's/:/ /'` 355 `echo ${locallisppath} | sed 's/:/ /g'`
356 -chmod 777 ${lockdir} 356 -chmod 777 ${lockdir}
357 357
358 ### Delete all the installed files that the `install' target would 358 ### Delete all the installed files that the `install' target would
359 ### create (but not the noninstalled files such as `make all' would 359 ### create (but not the noninstalled files such as `make all' would
360 ### create). 360 ### create).