commit 125d4b6d0406cc1ef0d92403ceb820b54a8625d2
parent b9ccf50d906662e9c9ada98671045a03a49ce2a0
Author: tgoodwin <tgoodwin>
Date: Fri, 10 Jul 1998 13:42:26 +0000
explain about y.tab.?
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git 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