Matt Flax <[EMAIL PROTECTED]> schrieb:

> Hi,
>
> I am packaging a software which uses "ivmkmf" to generate the makefile.
>
> I am trying to use the rules file to auto gen this makefile, but the 
> dpkg-buildpackage -rfakeroot command fails, 'cause it tries to clean the 
> software even before the Makefile has been generated by ivmkmf.
>
> Does anyone know what other people do when they have to generate a 
> makefile first ?
>
> Here is an example of my rules file :
[...]
> clean:
>       dh_testdir
>       dh_testroot
>       rm -f build-stamp configure-stamp
>
>       # Add here commands to clean up after the build process.
>       -$(MAKE) clean

That should be fine. Because of the -, it shouldn't fail, but say
something like "[Error n: ignored]". You just have to think whether you
also want to rm -f the generated Makefile afterwards.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply via email to