DragonFly BSD
DragonFly bugs List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue343] make clean removes all files if patches/ dir is empty


From: Peter Avalos <issues@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 07 Oct 2006 16:19:07 -0000

New submission from Peter Avalos <pavalos@xxxxxxxxxxxx>:

I just got a nice little surprise.  If I don't have any files named *.patch in 
patches/ and I do a make clean, it adds '*' to the rm list.  Is there any way 
to prevent this behavior?

box:~pavalos/dfly/src/usr.bin/top/patches% mv machine.h.patch machine.h
box:~pavalos/dfly/src/usr.bin/top/patches% cd ..
box:~pavalos/dfly/src/usr.bin/top% make clean
"/usr/share/mk/bsd.prog.mk", line 40: warning: duplicate script for 
target "top" ignored
rm -f top.local.h top.x top.1 * top .o top.1.gz top.1.cat.gz
rm: CVS: is a directory
rm: patches: is a directory
*** Error code 1

Stop in /home/pavalos/dfly/src/usr.bin/top.

----------
messages: 1432
nosy: pavalos
priority: bug
status: unread
title: make clean removes all files if patches/ dir is empty

_______________________________________________________
DragonFly issue tracker <issues@xxxxxxxxxxxxxxxxxxxxxx>
<http://bugs.dragonflybsd.org/issue343>
_______________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]