home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / utils / bug / 2297 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.4 KB  |  45 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!twinsun.COM!eggert
  3. From: eggert@twinsun.COM (Paul Eggert)
  4. Subject: oleo 1.2 makefile invokes bison with wrong arguments
  5. Message-ID: <9212311308.AA02692@farside.twinsun.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 31 Dec 1992 13:08:22 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 32
  12.  
  13. When parse.tab.c is out of date, the oleo 1.2 makefile invokes
  14. `bison -y' without any other arguments, leading to an error.
  15. Here is a patch.
  16.  
  17. Thu Dec 31 12:43:41 1992  Paul Eggert  (eggert@twinsun.com)
  18.  
  19.     * Makefile.in (parse.tab.c): Invoke bison with proper arguments.
  20.  
  21. ===================================================================
  22. RCS file: RCS/Makefile.in,v
  23. retrieving revision 1.2
  24. diff -c -r1.2 Makefile.in
  25. *** Makefile.in    1992/12/29 02:05:50    1.2
  26. --- Makefile.in    1992/12/31 12:43:41
  27. ***************
  28. *** 111,117 ****
  29.       $(CC) $(ALL_CFLAGS) -o oleo $(all_objs) $(libs)
  30.   
  31.   parse.tab.c: parse.y
  32. !     $(BISON) $<
  33.       -mv y.tab.c $@
  34.   busi.o : busi.c funcdef.h sysdef.h proto.h global.h utils.h cell.h \
  35.       eval.h errors.h  
  36. --- 111,117 ----
  37.       $(CC) $(ALL_CFLAGS) -o oleo $(all_objs) $(libs)
  38.   
  39.   parse.tab.c: parse.y
  40. !     $(BISON) $(BISONFLAGS) parse.y
  41.       -mv y.tab.c $@
  42.   busi.o : busi.c funcdef.h sysdef.h proto.h global.h utils.h cell.h \
  43.       eval.h errors.h  
  44.  
  45.