On 12/30/2011 05:54 AM, wer...@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 <wer...@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


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f0576cb.1060...@debian.org

Reply via email to