gbranden pushed a commit to branch master
in repository groff.
commit 5245c8adf2ac103762ea3cd360433236dd932cc5
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Feb 22 15:14:03 2023 -0600
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.
---
ChangeLog | 5 +++++
doc/doc.am | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 32b5f2939..667e91327 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-02-22 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am (install-pdf-local, install-html-local): Enable
+ rules to work in out-of-tree builds.
+
2023-02-22 G. Branden Robinson <[email protected]>
* doc/doc.am (uninstall-hook): Drop dependency on
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
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit