From 9cae6a4fa4a033e10e29fdc8329d92bb7e141385 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sat, 6 Jan 2007 22:17:54 +0200 Subject: [PATCH] update-man: Install manpages to srcdir, not builddir. elinks.1.in, elinkskeys.5, and elinks.conf.5 are included in the Git tree, so they are initially in the srcdir, and that's were the new versions must go. --- doc/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index abfdf61b..eb6980fd 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -92,9 +92,9 @@ install-doc: all-docs update-man install update-man: man @$(if $(MAN_DOCS), \ - $(call ncmd,installdata,elinks.1,man/man1/elinks.1.in); \ - $(call ncmd,installdata,elinkskeys.5,man/man5/); \ - $(call ncmd,installdata,elinks.conf.5,man/man5/)) + $(call ncmd,installdata,elinks.1,$(srcdir)man/man1/elinks.1.in); \ + $(call ncmd,installdata,elinkskeys.5,$(srcdir)man/man5/); \ + $(call ncmd,installdata,elinks.conf.5,$(srcdir)man/man5/)) clean-local: @$(RM) -r api $(TXT_DOCS_NOINSTALL) $(MAN_DOCS) $(HTML_DOCS) $(HTML_DOCS_NOINSTALL) $(PDF_DOCS) *.tmp *.xml