Subject: 'words' Makefile bug (+fix)
Index:	games/words/Makefile 2.11BSD

Description:
	The 'words' Makefile will install the program into the / (root)
	directory instead of /usr/games.

	The top level games Makefile has DESTDIR already defined (as an empty 
	string, not as /usr/games).  Apparently the definition in the file
	words/Makefile is ineffective, leading to the installation of the
	program in / rather than /usr/games.

Repeat-By:
	Compile and install the games directory or by examination of 
	the Makefile.

Fix:
	Apply the included patch to the Makefile.  This removes the 
	definition of DESTDIR in words/Makefile and changes the install
	path to use the inherited DESTDIR from the upper level makefile.
-----------------------------------------------------------------------
*** /usr/src/games/words/Makefile.old	Wed Jul  8 14:25:56 1987
--- /usr/src/games/words/Makefile	Tue Dec 17 21:58:53 1991
***************
*** 1,4 ****
- DESTDIR=/usr/games
  LIBDIR=/usr/games/lib
  
  all:	words1
--- 1,3 ----
***************
*** 8,14 ****
  
  install: words1 words.sh
  	install -s words1 ${LIBDIR}
! 	install -c words.sh ${DESTDIR}/words
  
  clean:
  	rm -f *.o words1
--- 7,13 ----
  
  install: words1 words.sh
  	install -s words1 ${LIBDIR}
! 	install -c words.sh ${DESTDIR}/usr/games/words
  
  clean:
  	rm -f *.o words1
