Subject: misc/11947: duplicate script for target "snap_md_post" in etc/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: TheMan <andrew@untraceable.net>
List: netbsd-bugs
Date: 01/12/2001 20:18:14
>Number:         11947
>Category:       misc
>Synopsis:       make complains about duplicate script for target "snap_md_post" for etc/Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 12 20:18:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Brown
>Release:        1.5Q as of 2001/01/12
>Organization:
none
>Environment:
System: NetBSD this 1.5Q NetBSD 1.5Q (THAT) #27: Fri Jan 12 12:15:56 GMT 2001     andrew@this:/usr/src/sys/arch/i386/compile/THAT i386

>Description:

	etc/Makefile contains multiple descriptions of a few targets
depending on the settings of some environment variables, mostly
DESTDIR and RELEASEDIR.  if DESTDIR is not set and i try to make
snapshot, i get this:

"/usr/src/etc/Makefile", line 149: warning: duplicate script for target "snap_md_post" ignored
"/usr/src/etc/Makefile", line 150: warning: duplicate script for target "snap_md_post" ignored
setenv DESTDIR before doing that!

and if i set it and try again, i get this:

"/usr/src/etc/Makefile", line 279: warning: duplicate script for target "snap_md_post" ignored
"/usr/src/etc/Makefile", line 280: warning: duplicate script for target "snap_md_post" ignored
setenv RELEASEDIR before doing that!

it didn't used to do this.

>How-To-Repeat:

	# cd /usr/src (or wherever your source is)
	# make build

>Fix:

	i dunno.  it *looks* okay to me, and cvs annotate shows no
changes in or around those areas any time lately.
>Release-Note:
>Audit-Trail:
>Unformatted: