Will Estes
2015-11-13 16:54:03 UTC
This will probably work fine, but this has the potential problem that
test.c will be built every time you run 'make dist', just to be deleted
immediately. This may or may not be a concern for you, but the likely
consequence is that lex will be required to run 'make dist', even though
it would otherwise not be required.
It is unfortunate, yes, but since automake already pulls in a requirement to have a lex on the build system, I can live with the slow down / extra disk I/O.test.c will be built every time you run 'make dist', just to be deleted
immediately. This may or may not be a concern for you, but the likely
consequence is that lex will be required to run 'make dist', even though
it would otherwise not be required.
EXTRA_DIST =
nodist_test_SOURCES = test.l
EXTRA_DIST += $(nodist_test_SOURCES)
Thanks for the reminder. I haven't tested this, but the dist-hook approach works beautifully, given that I'm ok with the build and then delete that happens.nodist_test_SOURCES = test.l
EXTRA_DIST += $(nodist_test_SOURCES)
Cheers,
Nick
Nick
--
Will Estes
***@gmail.com
Will Estes
***@gmail.com