Subject: Re: Status of dgit (good for NMUs and fast-forwarding Debian branches)
Date: Wednesday 18th September 2013 13:49:47 UTC (over 4 years ago)
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 OMG WTF BBQ Although I can see that it will work, and work with dgit too. Hmmm. Maybe my initial reaction is overblown and I should be thinking "neat hack". IWBNI Policy had something to say about what assumptions a package's build system is allowed to make about the contents of any .git it may find. Ian.