1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Use docdir to initialize PATH_DOC in paths.h.

This commit is contained in:
Karl Heuer 1994-02-22 23:56:15 +00:00
parent 9e7b7d21ec
commit e408046f80

View File

@ -162,6 +162,9 @@ lockdir=@lockdir@
# once. # once.
archlibdir=@archlibdir@ archlibdir=@archlibdir@
# Where to put the docstring file.
docdir=@docdir@
# ==================== Utility Programs for the Build ==================== # ==================== Utility Programs for the Build ====================
# Allow the user to specify the install program. # Allow the user to specify the install program.
@ -207,6 +210,7 @@ src/paths.h: Makefile ${srcdir}/src/paths.h.in FRC.src.paths.h
-e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \
-e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \
-e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \
-e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \
-e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";') -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";')
@${srcdir}/move-if-change src/paths.h.tmp src/paths.h @${srcdir}/move-if-change src/paths.h.tmp src/paths.h