comparison Makefile.in @ 19387:252bf4f45d18

(paths-force): Store PATH_X_DEFAULTS in paths.h.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Aug 1997 18:29:29 +0000
parents 56b3e5e01010
children f2fe77b50fb1
comparison
equal deleted inserted replaced
19386:27eb2e784a5b 19387:252bf4f45d18
111 srcdir=@srcdir@ 111 srcdir=@srcdir@
112 112
113 # Tell make where to find source files; this is needed for the makefiles. 113 # Tell make where to find source files; this is needed for the makefiles.
114 VPATH=@srcdir@ 114 VPATH=@srcdir@
115 115
116 # Where to find the application default.
117 x_default_search_path=@x_default_search_path@
118
116 # ==================== Emacs-specific directories ==================== 119 # ==================== Emacs-specific directories ====================
117 120
118 # These variables hold the values Emacs will actually use. They are 121 # These variables hold the values Emacs will actually use. They are
119 # based on the values of the standard Make variables above. 122 # based on the values of the standard Make variables above.
120 123
202 205
203 # Generate paths.h from paths.in. This target is invoked by `configure'. 206 # Generate paths.h from paths.in. This target is invoked by `configure'.
204 paths-force: FRC 207 paths-force: FRC
205 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ 208 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
206 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ 209 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
210 x_default_search_path=`echo ${x_default_search_path}`; \
207 sed < ${srcdir}/src/paths.in > paths.h.$$$$ \ 211 sed < ${srcdir}/src/paths.in > paths.h.$$$$ \
208 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ 212 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
209 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ 213 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
210 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ 214 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
211 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ 215 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
212 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ 216 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
213 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \ 217 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
218 -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
214 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \ 219 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
215 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h 220 ${srcdir}/move-if-change paths.h.$$$$ src/paths.h
216 221
217 src: lib-src FRC 222 src: lib-src FRC
218 223