Subject: bin/9315: variable $< not assigned (/usr/bin/make)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <makoto@ki.nu>
List: netbsd-bugs
Date: 01/30/2000 03:36:51
>Number:         9315
>Category:       bin
>Synopsis:       variable $< not assigned (/usr/bin/make)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 29 06:36:00 2000
>Last-Modified:
>Originator:     Makoto Fujiwara
>Organization:
	Fujiwara at Nagazu
>Release:        1.3J,1.4.1
>Environment:
	NetBSD/macppc, and NetBSD/sparc
System: NetBSD harry 1.3J NetBSD 1.3J (DE-no-WDC1-de-0402) #2: Tue Apr 27 22:03:06 JST 1999 makoto@harry:/usr/src/sys/arch/macppc/compile/DE-no-WDC1-de-0402 macppc

>Description:
	/usr/bin/make does not assign the value to $<
        while man make reads,
+----------------------
|  .IMPSRC   The name/path of the source from which the target is to
|            be transformed (the ``implied'' source); also known as
|            `<'.
|  .........
|  .TARGET   The name of the target; also known as `@'.
+----------------------

>How-To-Repeat:
  makoto@harry > cat Makefile 
  gcnmz: gcnmz.pl
          sed -e 's!%LIBDIR%!/usr/local/share/namazu/pl!g' $< > $@
  makoto@harry > cat gcnmz.pl 
  mknmz: mknmz.pl
          sed -e 's!%LIBDIR%!/usr/local/share/namazu/pl!g' $< > $@
  makoto@harry > which make
  /usr/bin/make
  makoto@harry > make
  sed -e 's!%LIBDIR%!/usr/local/share/namazu/pl!g'  > gcnmz
	
>Fix:
	
>Audit-Trail:
>Unformatted: