Re: Status of dgit (good for NMUs and fast-forwarding Debian
branches)
[Posted September 18, 2013 by ris]
| From: |
| Ian Jackson <ijackson-AT-chiark.greenend.org.uk> |
| To: |
| Ben Hutchings <ben-AT-decadent.org.uk> |
| Subject: |
| Re: Status of dgit (good for NMUs and fast-forwarding Debian branches) |
| Date: |
| Wed, 18 Sep 2013 14:49:47 +0100 |
| Message-ID: |
| <21049.44923.481572.470840@chiark.greenend.org.uk> |
| Cc: |
| Julien Cristau <jcristau-AT-debian.org>, debian-devel-AT-lists.debian.org |
| Archive-link: |
| Article, Thread
|
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.
(
Log in to post comments)