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

Re: Problems with build target

Manoj Srivastava wrote:
> 	I fail to see how a stamp-build makes any difference -- either
>  it shal rebuild no matter what, or it woould not build after applying
>  the patch -- I don't see how this would work correctly on all cases.
>  (Changing the stamp file name to be different from the target means
>  the target is always remade -- obviating the function of the stamp
>  file). What am I missing?

There is one use for a stamp-build. I've seen packages (and I maintain one)
that have a file named "build" in them. Then if you want a build stamp file,
you must do something like:

build: stamp-build
	touch stamp-build

.PHONY build

see shy jo

To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: