Damyan Ivanov <[email protected]> writes:

> I get "certain" error/warnings about missing required/optional targets
> in the following debian/rules:

>  -------------------------------------------------
>  DEBIAN_TARGETS := clean binary binary-arch binary-indep build build-arch 
> build-indep

>  .PHONY: $(DEBIAN_TARGETS)

>  $(DEBIAN_TARGETS):
>       dh $@ --parallel
>  -------------------------------------------------

> I find it handy to use a variable here, so that I can heep the phony
> target list the same as the universal rule at the bottom. And these
> targets need to be phony in order to not interfere with existing
> files/directories.

We probably are going to have to treat targets that are make variables as
equivalent to % and assume the maintainer knows what they're doing.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to