2015-05-19 20:59 GMT+02:00 Thomas D. <[email protected]>: > Michael wrote: >> It looks like Thomas fix is not sufficient. >> >> If you build from the tarball twice in a row, i.e. >> ./configure && make && make clean && ./configure && make >> the build will fail, if flex/bison is not around. >> This is due to ./grammar/grammar.[ch] beeing removed on "make clean" > > Mh, yes. I did not check for this test case (cleaning from release tarball). > > I would suggest that "make clean" should not remove any pre-generated files > if configure detected that we are running from release tarball. Any > objections?
That's hard to detect. E.g. I commit the release tarballs to git and build the packages from there. So the test for .git is not a sufficient indication if yacc/flex will be needed or not. What I do notice though, is that we have CLEANFILES = grammar.h grammar.c but we do not cleanup lexer.c. We should either do it for both, or none, I think. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

