On Sat, Aug 19, 2023 at 03:09:51PM +0200, Bruno Haible wrote:

> Then the next one is:
> 
> $ make dist
> ...
> make[3]: Entering directory 
> '/media/develdata/www-archive/source/newest/texinfo-git/texinfo/doc'
> make  distdir-am
> make[4]: Entering directory 
> '/media/develdata/www-archive/source/newest/texinfo-git/texinfo/doc'
> make[4]: *** No rule to make target 'refcard/txirefcard.pdf', needed by 
> 'distdir-am'.  Stop.
> 
> I do:
> $ (cd doc/refcard && make txirefcard.pdf)
> Then "make dist" proceeds.
> 
> Suggestion: Add to doc/Makefile rules to recurse into the doc/refcard/
> directory, in order to create these two files, when needed.

I've added rules for these and checked that they work in out-of-source
builds, and with make distcheck.  I recently untracked the pdf files in
git and evidently this has led to this problem.  The better fix would
probably be to use a Makefile.am file under doc/refcard, or to
incorporate the rules from doc/refcard/Makefile into doc/refcard/Makefile.am.

Reply via email to