home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!gatech!taco!pysgjb.physics.ncsu.edu!sullivan
- From: sullivan@pysgjb.physics.ncsu.edu (Dan Sullivan)
- Subject: Whitespace in Makefiles: a bug?
- Message-ID: <1992Aug13.120318.8791@ncsu.edu>
- Followup-To: comp.sys.sgi
- Keywords: inline comment SHELL
- Sender: news@ncsu.edu (USENET News System)
- Organization: NCSU Physics, Condensed Matter Theory
- Date: Thu, 13 Aug 1992 12:03:18 GMT
- Lines: 26
-
- Because the make-behavior described here might trip up another, I note
- that whitespace at the end of a "SHELL=" line in a makefile is
- significant. (I use 4.0.2 IRIX.)
-
- For example,
-
- # A makefile
- SHELL=/bin/sh
- # ^ = a space. It could be a tab.
- target:
- ls
- # end of makefile
-
- % make
- ls
- Couldn't load Shell: No such file or directory
-
- Stop.
- *** Error code 1
-
- Stop.
-
- If I remove the space (or tab), all is well. It doesn't help to end
- that line with a #.
-
- Cheers,
-