On Sat, Dec 09, 2000 at 07:37:30PM +0100, Cristian Ionescu-Idbohrn wrote: > > It WILL run the make distclean and promptly error out as before you > > patched the makefile, however it will then ignore the error because > > you told make to allow failure of that command. > > Tried it first. debian/rules just aborts. This just isn't true... dh_make uses: # Add here commands to clean up after the build process. -$(MAKE) clean which works fine for auto{conf,make} projects, which don't ship with makefiles. Here's an example, but with distclean, just like you're using: [snip] # Add here commands to clean up after the build process. /usr/bin/make distclean make[1]: Entering directory `/tmp/mcore-user-3.1.3' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/tmp/mcore-user-3.1.3' make: [clean] Error 2 (ignored) dh_clean dpkg-source -b mcore-user-3.1.3 [snip] So, what is the problem? -- Josh Huber | huber@debian.org | | Debian Developer | 1024D/6B21489A 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A
Attachment:
pgpfM1pDl8GI2.pgp
Description: PGP signature