Hi Simon, * Simon Josefsson wrote on Mon, Jan 30, 2006 at 10:40:56AM CET: > > I wonder what the best idiom for gnulib should be. We probably do not > want to require automake CVS just yet. Should it be the one I'm using: > > TESTS += test-gc$(EXEEXT) > check_PROGRAMS += test-gc > > or should we do > > selftests = test-gc$(EXEEXT) > TESTS += $(selftests) > check_PROGRAMS += $(selftests) > > Opinions?
Just that, iff you decide to go for the latter, pretty please don't use a generic name like $(selftests) but a name that makes it clear this is a gnulib variable, for example `gl_selftests'. Otherwise the stacking- software-made-hard department will want gnulib to _not_ use selftests = .. but selftests += .. and require the gnulib user to initialize this variable. Not nice. Thank you, Ralf