On Fri, Jan 03, 2003 at 04:29:12PM -0800, Dan Peterson wrote: > On Fri, 2003-01-03 at 16:01, Colin Watson wrote: > > 'make clean' deletes Makefile, not really debuild. > > You need to arrange that the 'build' target in > > debian/rules runs 'perl Makefile.PL' before running > > 'make'. > > I put 'perl Makefile.PL' at the top of debian/rules > (e.g. before '#!/usr/bin/make -f')
No, that was the wrong place to put it; you've just turned debian/rules into a shell script while most of it still looks like a makefile, which isn't going to work very well! Put 'perl Makefile.PL' just above the line that says 'make' in the fragment that starts with 'build:' on a line by itself. Make sure that it's indented by one tab, like 'make'. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]