Subject: lib/931: src/lib/libc/Makefile ignores DESTDIR installing tags
To: None <gnats-admin@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 03/30/1995 16:05:04
>Number:         931
>Category:       lib
>Synopsis:       src/lib/libc/Makefile ignores DESTDIR installing tags
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 30 16:05:02 1995
>Originator:     Jason Thorpe
>Organization:
Numerical Aerodynamic Simulation Project - NASA Ames
>Release:        NetBSD-current of Mar 27, 1995
>Environment:
	
System: NetBSD antie 1.0A NetBSD 1.0A (ANTIE) #89: Tue Mar 28 16:50:09 PST 1995 thorpej@antie:/work/netbsd/src/sys/arch/i386/compile/ANTIE i386


>Description:
	libc's Makefile doesn't look at DESTDIR when installing the 
	C library tags file.
>How-To-Repeat:
	% (cd /usr/src/lib/libc; make install)
>Fix:

===================================================================
RCS file: /mastersrc/netbsd/src/lib/libc/Makefile,v
retrieving revision 1.1.1.4
diff -c -r1.1.1.4 Makefile
*** Makefile	1995/03/15 23:25:46	1.1.1.4
--- Makefile	1995/03/30 23:57:48
***************
*** 80,86 ****
  .endif
  
  beforeinstall: tags
! 	install -c -o bin -g bin -m 444 tags /var/db/libc.tags
  
  tags: ${SRCS}
  	ctags ${.ALLSRC:M*.c}
--- 80,86 ----
  .endif
  
  beforeinstall: tags
! 	install -c -o bin -g bin -m 444 tags ${DESTDIR}/var/db/libc.tags
  
  tags: ${SRCS}
  	ctags ${.ALLSRC:M*.c}
>Audit-Trail:
>Unformatted: