[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementing notrans_man_MANS
From: |
Peter Breitenlohner |
Subject: |
Re: Implementing notrans_man_MANS |
Date: |
Wed, 12 Mar 2008 11:18:10 +0100 (CET) |
On Tue, 11 Mar 2008, Ralf Wildenhues wrote:
Having one test is fine, and it looks good, too.
I suppose we might want to change the MANS line and the install-manX
rules to be flattened, they already look pretty ugly in the Makefile.
But that can happen in a followup patch.
Hello Ralf,
I guess that could mean a rule starting with
install-man6: dist_man_MANS man_MANS nodist_man_MANS
notrans_dist_man_MANS notrans_man_MANS \
notrans_nodist_man_MANS notrans_nodist_man_MANS
If so, that would make
grep '^install-man6:' Makefile.in | grep '\$(notrans_nodist_man_MANS)'
in the present notrans.test FAIL.
Maybe it would then be better that the notrans.test script creates none of
the files and have them all created by make rules. (At one time I was not
sure if Automake complains if some of these files are missing.)
To really test these dependencies one could even do:
rm -f foo.1 z-baz.man
$MAKE install-man1
rm -f bar.2 z-bar.man
$MAKE install-man2
and so on.
Regards,
Peter