Mercurial > emacs
comparison Makefile.in @ 1035:56b6d2f4383a
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Thu, 27 Aug 1992 22:17:59 +0000 |
parents | 593af70322f0 |
children | 95f094fdd81e |
comparison
equal
deleted
inserted
replaced
1034:5cc1bd18edf7 | 1035:56b6d2f4383a |
---|---|
117 | 117 |
118 all: src/paths.h ${SUBDIR} | 118 all: src/paths.h ${SUBDIR} |
119 | 119 |
120 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/' | 120 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/' |
121 | 121 |
122 # Note that sed is not in /bin on 386bsd. | |
122 src/paths.h: Makefile src/paths.h.in | 123 src/paths.h: Makefile src/paths.h.in |
123 lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ | 124 lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ |
124 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ | 125 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ |
125 /bin/sed < src/paths.h.in > src/paths.h.tmp \ | 126 sed < src/paths.h.in > src/paths.h.tmp \ |
126 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ | 127 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ |
127 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ | 128 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ |
128 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${libdir}";' \ | 129 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${libdir}";' \ |
129 -e 's;\(#.*PATH_DATA\).*$$;\1 "${datadir}";' \ | 130 -e 's;\(#.*PATH_DATA\).*$$;\1 "${datadir}";' \ |
130 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";' | 131 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";' |