Subject: small makefile fixes
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Christos Zoulas <christos@deshaw.com>
List: current-users
Date: 12/20/1993 10:54:41
The first would break when there is an obj directory, and the second
one would break every time...

christos


*** games/wargames/Makefile.dist	Sun Nov  7 02:30:51 1993
--- games/wargames/Makefile	Mon Dec 20 10:02:24 1993
***************
*** 5,11 ****
  all wargames clean cleandir depend lint tags:
  
  install:
! 	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} wargames.sh \
  	    ${DESTDIR}/usr/games/wargames
  
  .include <bsd.prog.mk>
--- 5,11 ----
  all wargames clean cleandir depend lint tags:
  
  install:
! 	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${.CURDIR}/wargames.sh \
  	    ${DESTDIR}/usr/games/wargames
  
  .include <bsd.prog.mk>
*** usr.bin/newsyslog/Makefile.dist	Sun Nov  7 05:07:15 1993
--- usr.bin/newsyslog/Makefile	Sun Dec 19 14:11:30 1993
***************
*** 15,21 ****
  
  CLEANFILES+= newsyslog.conf.5
  
! newsyslog.conf.5:
! 	ln -s ${.CURDIR}/newsyslog.8 $@
  
  .include <bsd.prog.mk>
--- 15,22 ----
  
  CLEANFILES+= newsyslog.conf.5
  
! newsyslog.conf.5: newsyslog.8
! 	rm -f ${.TARGET}
! 	ln -s ${.ALLSRC} ${.TARGET}
  
  .include <bsd.prog.mk>

------------------------------------------------------------------------------