Subject: pkg/5186: doesn't document ALL_TARGET or INSTALL_TARGET
To: None <>
From: None <nathanw@MIT.EDU>
List: netbsd-bugs
Date: 03/22/1998 19:55:31
>Number:         5186
>Category:       pkg
>Synopsis:       Two useful variables aren't documented.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 22 17:05:01 1998
>Originator:     Nathan J. Williams
	Massachvsetts Institvte of Technology
>Release:        NetBSD-current of 1998/3/22
System: NetBSD 1.3E NetBSD 1.3E (ROAD-RUNNER) #94: Mon Mar 16 11:12:37 EST 1998 i386

	The variables INSTALL_TARGET and ALL_TARGET that a package's Makefile
can usefully override aren't documented anywhere. This leads to needless
frustration when first trying to construct a package that doesn't have 
standard "all" and "install" targets.
	Document them! Something like this patch would be a good start.

*** /usr/share/mk/	Sun Mar 22 18:25:09 1998
--- /tmp/	Sun Mar 22 19:50:50 1998
*** 221,226 ****
--- 221,228 ----
  #                 on this architecture. Set to YES to insist on
  #                 e.g. fetching all distfiles (for interactive use in
  #                 ${PORTSDIR}, mostly. 
+ # ALL_TARGET	- The target to pass to make in the package when building.
+ # INSTALL_TARGET- The target to pass to make in the package when installing.
  # Motif support: