Subject: bin/2416: Missing 'install -d' line for 'make includes' in usr.bin/lex/Makefile
To: None <gnats-bugs@NetBSD.ORG,>
From: Bernd Ernesti <>
List: netbsd-bugs
Date: 05/15/1996 21:27:00
>Number:         2416
>Category:       bin
>Synopsis:       Missing 'install -d' line for 'make includes' in usr.bin/lex/Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 15 16:05:01 1996
>Originator:     Bernd Ernesti
>Release:        NetBSD-current of 15.05.96
System: NetBSD arresum 1.1B NetBSD 1.1B (VEEGO) #140: Mon May 13 08:13:55 MET DST 1996 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga

	Remove all files in /usr/include and do a 'make includes' in
	/usr/src to install all includes and notice this:

===> usr.bin/lex
install -c -o bin -g bin -m 444 /src/usr.bin/lex/FlexLexer.h  /usr/include/g++

	but there was no /usr/include/g++ directory, so you get this:

ls -la /usr/include/g++

-r--r--r--   1 bin   bin     5669 May 15 20:57 g++

	cd /usr/include
	rm -rf *
	cd /usr/src
	make includes
Apply this diff:

*** src/usr.bin/lex/Makefile-orig	Thu Apr 25 13:36:15 1996
--- src/usr.bin/lex/Makefile	Wed May 15 21:07:39 1996
*** 41,46 ****
--- 41,47 ----
  scan.o: parse.c
+ 	install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include/g++
  	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/FlexLexer.h \