Article View: gnu.utils.bug
Article #728make 3.62 problem (from make 3.59)
From: Larry Morris
Date: Thu, 03 Sep 1992 21:50
Date: Thu, 03 Sep 1992 21:50
40 lines
2027 bytes
2027 bytes
I had a makefile which was running under gnumake 3.59. When I upgraded to 3.62, it failed. I tracked the problem to a statement which was on multiple lines and did a redirection. A short sample is: --------------- Makefile --------------------------- define BINCMD ls -l \ > out_file endef all: $(BINCMD) --------------- End Makefile ----------------------- The 3.59 results are what I expected, a file listing in out_file. The 3.62 results are an "ls -l" echoed to my screen, then the "> out_file" is run, apparently as a separate command. Things work fine if I either don't split the line, or split with some character other than ">" as the first char of the continued line. I assumed that the ">" had been added as some sort of special symbol, but found no reference to it in the documentation. Is this a bug, or yet another RTFM? Also, what happened to the "-" operator? I used -rm on a lot of my rules to ignore errors if the file didn't exist. Not really needed with "rm -f" but I am curious why it went away. In 3.62, I get errors from the shell that -rm is not a valid command. Once again, sorry if this is documented. The most recent docs I found are 3.61 Beta and I am running 3.62, so I may have missed something. Thanks in advance. -- Internet: <lmorris@mdd.comm.mot.COM> | Larry Morris ...uw-beaver!sunup-----\ | Motorola/Mobile Data Division ...uunet-----------------!mdisea!lmorris | 19807 North Creek Parkway ...van-bc!mdivax1------/ | Bothell, WA (206) 487-5810
Technical Details
Message-ID:
<1992Sep3.215015.4744@mdd.comm.mot.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mdd.COMm.mot.COM!lmorrisShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mdd.COMm.mot.COM!lmorris From: lmorris@mdd.COMm.mot.COM (Larry Morris) Subject: make 3.62 problem (from make 3.59) Message-ID: <1992Sep3.215015.4744@mdd.comm.mot.com> Sender: gnulists@ai.mit.edu Organization: Motorola, Mobile Data Division - Seattle, WA Distribution: gnu Date: Thu, 3 Sep 1992 21:50:15 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 41