at/at-3.1.14-makefile-deps.patch

23 lines
554 B
Diff
Raw Permalink Normal View History

---
Makefile.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: at-3.2.0/Makefile.in
===================================================================
--- at-3.2.0.orig/Makefile.in
+++ at-3.2.0/Makefile.in
@@ -77,9 +77,12 @@ at: $(ATOBJECTS)
atd: $(RUNOBJECTS)
$(CC) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) $(SELINUXLIB)
-y.tab.c y.tab.h: parsetime.y
+y.tab.c y.tab.h: stamp-yacc; @:
+stamp-yacc: parsetime.y
$(YACC) -d parsetime.y
+ touch $@
+lex.yy.o: y.tab.h
lex.yy.c: parsetime.l
$(LEX) -i parsetime.l