| Subject: | CLEANFILES usage in src/sys/lkm/dev/isa/Makefile.inc |
|---|---|
| From: | Bernd Ernesti <veego@xxxxxxxxxx> |
| Date: | Sun, 20 Jul 2008 18:28:09 UTC |
| Newsgroups: | fa.netbsd.tech.kern |
Hi,
On Thu, May 01, 2008 at 11:14:36PM +0000, Juan Romero Pardines wrote:
>
> Module Name: src
> Committed By: xtraeme
> Date: Thu May 1 23:14:35 UTC 2008
>
> Modified Files:
> src/sys/lkm/dev/isa: Makefile.inc
>
> Log Message:
> The template file should be built in ${.OBJDIR} not in ${.CURDIR},
> build.sh now works.
It builds too without build.sh, but a make cleandir doesn't remove the
files lkm_isa.c files when I use OBJDIRs.
Currently Makefile.inc use this:
CLEANFILES+= ${.CURDIR}/${TEMPL_FILE:S/.tmpl//} *~ ${KMOD}
IMHO the ${.CURDIR}/ part is not needed at all.
I think it should be changed to
CLEANFILES+= ${TEMPL_FILE:S/.tmpl//} ${KMOD}
Which removed the *~ part too.
Or is there a reason why *~ files are deleted? IMHO they should
not be there at all.
Bernd
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Conflicting mutex(9) man page ?, Mindaugas Rasiukevicius |
|---|---|
| Next by Date: | Re: CLEANFILES usage in src/sys/lkm/dev/isa/Makefile.inc, Bernd Ernesti |
| Previous by Thread: | Conflicting mutex(9) man page ?, Paul Goyette |
| Next by Thread: | Re: CLEANFILES usage in src/sys/lkm/dev/isa/Makefile.inc, Bernd Ernesti |
| Indexes: | [Date] [Thread] [Top] [All Lists] |