From 5245c8adf2ac103762ea3cd360433236dd932cc5 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Wed, 22 Feb 2023 15:14:03 -0600 Subject: doc/doc.am: Fix install-{pdf,html}-local targets. * doc/doc.am (install-pdf-local, install-html-local): Enable rules to work in out-of-tree builds. These rules aren't made by default (and so weren't causing failures); that's a separate issue. --- doc/doc.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/doc.am b/doc/doc.am index 81741b98d..1b1195e59 100644 --- a/doc/doc.am +++ b/doc/doc.am @@ -635,13 +635,13 @@ install_infodoc: doc/groff.info install-pdf-local: doc/groff.pdf -test -d $(DESTDIR)$(pdfdocdir) \ || $(mkinstalldirs) $(DESTDIR)$(pdfdocdir) - cp $(top_builddir)/doc/groff.pdf $(DESTDIR)$(pdfdocdir) + cp $(top_srcdir)/doc/groff.pdf $(DESTDIR)$(pdfdocdir) install-html-local: doc/groff.html -test -d $(DESTDIR)$(htmldocdir)/groff.html.mono \ || $(mkinstalldirs) $(DESTDIR)$(htmldocdir)/groff.html.mono - cp -r $(top_builddir)/doc/groff.html \ + cp -r $(top_srcdir)/doc/groff.html \ $(DESTDIR)$(htmldocdir)/groff.html.mono - cp -r $(top_builddir)/doc/groff.html.node \ + cp -r $(top_srcdir)/doc/groff.html.node \ $(DESTDIR)$(htmldocdir) uninstall-local: uninstall_infodoc uninstall-pdf uninstall-html -- cgit v1.2.1