Packaging a derivative work with incremental source

Cesare Falco cesare.falco at
Tue Jan 25 21:54:05 UTC 2011

Hello all,

I'm in the process of packaging MESS, a derivative from MAME distributed
in source form as an incremental archive.

I started creating a mame_xxx.orig-messpatch.tar.bz2 and having
dh_auto_configure save the source tree before copying the
MESS-specific files, in order to restore it in dh_auto_clean and
finally remove the backup copy.

Unfortunately, this doesn't work: dh_auto_clean is not idempotent
and dpkg-buildpackage fails.

I'm attaching my rules file: can anyone please make some suggestions?

Thanks in advance,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules
Type: text/x-makefile
Size: 2135 bytes
Desc: not available
URL: <>

More information about the Ubuntu-motu mailing list