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.


-- 
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.44923.481572.470...@chiark.greenend.org.uk

Reply via email to