bug#31157: Advice for help2man does not work for parallel builds

2018-04-22 Thread Reuben Thomas
On 22 April 2018 at 10:28, Mathieu Lirzin wrote: > > > $(srcdir)/foo.1: foo.c foo$(EXEEXT) > > -@case '$?' in \ > > *foo.c*) > > ​​$(AM_V_P) && set -x || echo " HELP2MAN $@"; \ > > LANGUAGE= help2man --output="$(srcdir)/foo.1" ./foo$(EXEEXT);; \ > > *) : ;; \ > > esac; > > > > Nice! The on

bug#31157: Advice for help2man does not work for parallel builds

2018-04-22 Thread Mathieu Lirzin
Hello Peter, Peter Johansson writes: > On 4/22/2018 1:13 AM, Mathieu Lirzin wrote: >> Hello Reuben, >> >> Reuben Thomas writes: >> >>> In the manual, we are given the following pattern for using help2man >>> without breaking make distcheck: >>> >>> foo.1: foo.c $(top_srcdir)/configure.ac >>> $(

bug#31157: Advice for help2man does not work for parallel builds

2018-04-22 Thread Mathieu Lirzin
Reuben Thomas writes: > On 21 April 2018 at 16:13, Mathieu Lirzin wrote: > > Reuben Thomas writes: > > > In the manual, we are given the following pattern for using help2man > > without breaking make distcheck: > > > > foo.1: foo.c $(top_srcdir)/configure.ac > > $(MAKE) $(AM_MAKEFLAGS) fo

bug#31157: Advice for help2man does not work for parallel builds

2018-04-21 Thread Reuben Thomas
On 21 April 2018 at 16:13, Mathieu Lirzin wrote: > Hello Reuben, > > Reuben Thomas writes: > > > In the manual, we are given the following pattern for using help2man > > without breaking make distcheck: > > > > foo.1: foo.c $(top_srcdir)/configure.ac > > $(MAKE) $(AM_MAKEFLAGS) foo$(EXEEXT) > >

bug#31157: Advice for help2man does not work for parallel builds

2018-04-21 Thread Peter Johansson
Hi Ruben and Mathieu, On 4/22/2018 1:13 AM, Mathieu Lirzin wrote: Hello Reuben, Reuben Thomas writes: In the manual, we are given the following pattern for using help2man without breaking make distcheck: foo.1: foo.c $(top_srcdir)/configure.ac $(MAKE) $(AM_MAKEFLAGS) foo$(EXEEXT) help2man

bug#31157: Advice for help2man does not work for parallel builds

2018-04-21 Thread Mathieu Lirzin
Hello Reuben, Reuben Thomas writes: > In the manual, we are given the following pattern for using help2man > without breaking make distcheck: > > foo.1: foo.c $(top_srcdir)/configure.ac > $(MAKE) $(AM_MAKEFLAGS) foo$(EXEEXT) > help2man --output=foo.1 ./foo$(EXEEXT) > > The problem is that with m

bug#31157: Advice for help2man does not work for parallel builds

2018-04-14 Thread Reuben Thomas
In the manual, we are given the following pattern for using help2man without breaking make distcheck: foo.1: foo.c $(top_srcdir)/configure.ac $(MAKE) $(AM_MAKEFLAGS) foo$(EXEEXT) help2man --output=foo.1 ./foo$(EXEEXT) The problem is that with make -j this can result