[Top][All Lists]

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

Re: [groff] More on stripping

From: Bertrand Garrigues
Subject: Re: [groff] More on stripping
Date: Mon, 19 Mar 2018 23:50:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi Peter,

On Fri, Mar 16 2018 at 01:05:17 PM, Peter Schaffter <address@hidden> wrote:
> Ingo --
> On Thu, Mar 15, 2018, Ingo Schwarze wrote:
>> After a fierce fight resulting in the death of the vicious
>> git-version-gen dragon, i finally managed to test,
> A good fight, St. George. :)
>> ...that your patch looks good to code inspection and survives
>> the tests listed below on OpenBSD-current if you add the following
>> minor details:
>>  * remove "/contrib/mom/om.tmac" from .gitignore
>>  * in, also remove "  contrib/mom/om.tmac-u" from EXTRA_DIST
>>    (or make dist will blow up)
>>  * in, also remove "  contrib/mom/om.tmac" from MOSTLYCLEANFILES
>>    (or people may come to grief after spring cleaning)
> Thanks for catching these.
>> The complete patch that i believe you want to commit is appended
>> at the end for comparison.
> Applied, tested, and pushed.

The commit 69c5a52a05efc39388b893d5b4d7cff549b6ab18 breaks the
generation of mom pdf examples when building out of source: we must now
pass mom source dir to -M instead of mom build dir (however if you build
directly in the sources you will not see the problem).

The patch below fixes the problem, could you please test on your side

I've also removed the line:

  nodist_momtmac_DATA = $(MOMNORMALFILES)

this no longer makes any sense as we say just below:

  dist_momtmac_DATA = $(MOMNORMALFILES)



diff --git a/contrib/mom/ b/contrib/mom/
index a4a74318..ef0f9cf4 100644
--- a/contrib/mom/
+++ b/contrib/mom/
@@ -21,10 +21,9 @@
 # along with this program.  If not, see <>.
 mom_srcdir = $(top_srcdir)/contrib/mom
-mom_builddir = $(top_builddir)/contrib/mom
 # pdfmom command used to generated .pdf
-MOM_TFLAG = -M$(mom_builddir)
+MOM_TFLAG = -M$(mom_srcdir)
 MOM_KFLAG = -k -p -e -t
@@ -40,7 +39,6 @@ MOMNORMALFILES = \
   contrib/mom/mom.tmac \
 momtmacdir = $(tmacdir)
-nodist_momtmac_DATA = $(MOMNORMALFILES)
 dist_momtmac_DATA = $(MOMNORMALFILES)
 # Files installed in htmldocdir/mom

reply via email to

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