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

Re: RFS: policyd-weight



On 12/30/2011 05:54 AM, werner@aloah-from-hell.de wrote:
> With:
>
> # include /usr/share/quilt/quilt.make
> # clean: unpatch
> clean: dh_testdir
>         dh_testroot
>         dh_clean build-stamp
>
> I get:
> dpkg-buildpackage: source package policyd-weight
> dpkg-buildpackage: source version 0.1.15.2-1
> dpkg-buildpackage: source changed by Werner Detter <werner@aloah-from-hell.de>
> dpkg-buildpackage: host architecture amd64
>  dpkg-source --before-build policyd-weight-0.1.15.2
>  debian/rules clean
> make: *** No rule to make target `dh_testdir', needed by `clean'.  Stop.
>
>
> Regards,
> Werner
>   
Hi !

If you put "dh_testdir" on the same line as the "clean:",
then it will *not* be considered as a command, but as
a dependency of the clean target.

In other words, you should write:

clean:
    dh_testdir

and not:

clean: dh_testdir

I hope that helps,

Thomas


Reply to: