groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No rule to make target `tmac/mdoc/doc-common', needed by `all-am'. S


From: G. Branden Robinson
Subject: Re: No rule to make target `tmac/mdoc/doc-common', needed by `all-am'. Stop.
Date: Tue, 9 Nov 2021 07:51:53 +1100
User-agent: NeoMutt/20180716

Hi Axel & Robert,

At 2021-10-28T20:17:43+0200, Axel Kielhorn wrote:
[...]
> make[1]: *** No rule to make target `tmac/mdoc/doc-common', needed by 
> `all-am'.  Stop.
[...]

At 2021-11-07T08:35:22-0500, Robert Goulding wrote:
> On Chromebook (Debian buster), make fails with:
> 
> make[1]: *** No rule to make target 'tmac/mdoc/doc-common', needed by
> 'all-am'.  Stop.
> make[1]: Leaving directory '/home/robert/groff'
> make: *** [Makefile:5609: all] Error 2

I believe I tracked this down.  The fix will likely be in my next push.

commit caf1d8e863b4cb36ad99ca4c274dd0a7f5e8060f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Nov 9 07:42:32 2021 +1100

    tmac/tmac.am: Stop cleaning `$(TMACMDOCFILES)`.
    
    * tmac/tmac.am (MOSTLYCLEANFILES): Remove `$(TMACMDOCFILES)`.  This
      variable, formerly named `TMACMDOCSTRIPFILES`, should not be used in a
      clean target because its contents are (no longer) generated files.
      Problem introduced by me in commit 24602f42, 4 July (only noticeable
      in within-source-tree builds).

diff --git a/ChangeLog b/ChangeLog
index 80a1df94b..bb86ff7fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/tmac.am (MOSTLYCLEANFILES): Remove `$(TMACMDOCFILES)`.
+       This variable, formerly named `TMACMDOCSTRIPFILES`, should not
+       be used in a clean target because its contents are (no longer)
+       generated files.  Problem introduced by me in commit 24602f42, 4
+       July (only noticeable in within-source-tree builds).
+
 2021-11-08  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [libgroff,pic]: Check `strdup()` return value.
diff --git a/tmac/tmac.am b/tmac/tmac.am
index 08aeb821a..4eb16b760 100644
--- a/tmac/tmac.am
+++ b/tmac/tmac.am
@@ -121,7 +121,7 @@ dist_mdoc_DATA = $(TMACMDOCFILES)
 # Installed in localtmacdir
 dist_localtmac_DATA = tmac/man.local tmac/mdoc.local
 
-MOSTLYCLEANFILES += $(TMACMDOCFILES) \
+MOSTLYCLEANFILES += \
    tmac/groff_man.7.man \
    tmac/groff_man_style.7.man \
    tmac/www.tmac \

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]