Ben Hutchings writes ("Re: Status of dgit (good for NMUs and fast-forwarding Debian branches)"): > Example from sgt-puzzles: > > override_dh_auto_clean: > ! [ -f Makefile ] || $(MAKE) clean > $(MAKE) -f Makefile.doc clean > if [ -d .git ]; then \ > git checkout HEAD $(AUTOGEN_FILES); \ > else \ > rm -f $(AUTOGEN_FILES); \ > fi > rm -f po > dh_clean debian/substvars gamedesc.txt version2.def > > (I'm not claiming this is a good example).
You know, the more I think about this the more I like it. Perhaps dh_autoreconf should do this, rather than simply deleting the files and relying on a bodge in dpkg-source. Ian. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/21049.55331.115743.671...@chiark.greenend.org.uk