diff options
| author | tgoodwin <tgoodwin> | 1998-07-10 13:42:26 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:08 +0100 |
| commit | 125d4b6d0406cc1ef0d92403ceb820b54a8625d2 (patch) | |
| tree | 67e8d7b30ac0c9894bcf108e091dd75321f7b19e /Makefile.am | |
| parent | b9ccf50d906662e9c9ada98671045a03a49ce2a0 (diff) | |
explain about y.tab.?
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index a4146c8..824abf1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,14 +41,18 @@ noinst_HEADERS = group.h jbwrap.h proto.h rc.h rlimit.h y.tab.h BUILT_SOURCES = sigmsgs.c y.tab.c - EXTRA_DIST = addon.c addon.h EXAMPLES history.1 parse.y rc.1 trip.rc sigmsgs.c sigmsgs.h: ./mksignal ./mksignal -y.tab.c y.tab.h: $(srcdir)/parse.y - $(YACC) -d $(srcdir)/parse.y +# Of course, y.tab.c and y.tab.h depend on parse.y. However, unless +# you're hacking on rc's grammar, it's not useful to have this +# dependency expressed, since the distributed y.tab.[ch] (generated with +# byacc, and *very* lightly edited to remove a couple of gcc warnings) +# are portable (I hope). +#y.tab.c y.tab.h: $(srcdir)/parse.y +# $(YACC) -d $(srcdir)/parse.y trip: rc ./rc -p < $(srcdir)/trip.rc |