summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-22 15:14:03 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-22 15:18:24 -0600
commit5245c8adf2ac103762ea3cd360433236dd932cc5 (patch)
treed4bdfccf0d13f3134ef9eb7925a096e08c877188 /doc
parent1cc5e5b7cc567d380000b1eb85aa5d02aa9569cf (diff)
downloadgroff-git-5245c8adf2ac103762ea3cd360433236dd932cc5.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/doc.am6
1 files changed, 3 insertions, 3 deletions
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