I've noticed that when ncap_lex.l is newer than ncap_lex.c
that 'make' does not rebuild ncap_lex.c before recompiling.
At least I think this is what is happening.
Maybe my timestamps are screwy because I'm traveling.
Anyway, if you notice the same behavior, then would you please try to modify the autotools
instructions so that ncap_lex.c and ncap_yacc.[ch], if they exist, are removed by 'make clean' and 'make distclean'?
Thanks,
Charlie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Charlie,
Those files are not cleaned usually because they require "special tools" to build, for example lex and yacc.
That way people that download the source tarball (nco-2.8.5.tar.gz for example), only need a c compiler to build it. If they were deleted by make clean, the lex/yacc-less builder would be screwed the first time they did 'make clean'.
If you want them cleaned upon 'make clean', use maintainer mode (--enable-maintainer-mode) with ./configure.
rorik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ahhh. Yes, this has the ring of something you've told me
before. Thanks for reminding me. I'll try to remember to
use --enable-maintainer-mode when I'm hacking on those
files.
Thanks,
Charlie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Rorik,
I've noticed that when ncap_lex.l is newer than ncap_lex.c
that 'make' does not rebuild ncap_lex.c before recompiling.
At least I think this is what is happening.
Maybe my timestamps are screwy because I'm traveling.
Anyway, if you notice the same behavior, then would you please try to modify the autotools
instructions so that ncap_lex.c and ncap_yacc.[ch], if they exist, are removed by 'make clean' and 'make distclean'?
Thanks,
Charlie
Charlie,
Those files are not cleaned usually because they require "special tools" to build, for example lex and yacc.
That way people that download the source tarball (nco-2.8.5.tar.gz for example), only need a c compiler to build it. If they were deleted by make clean, the lex/yacc-less builder would be screwed the first time they did 'make clean'.
If you want them cleaned upon 'make clean', use maintainer mode (--enable-maintainer-mode) with ./configure.
rorik
Ahhh. Yes, this has the ring of something you've told me
before. Thanks for reminding me. I'll try to remember to
use --enable-maintainer-mode when I'm hacking on those
files.
Thanks,
Charlie