Simon Richter [off-list ref] writes:
Junio C Hamano wrote:
quoted
Since you have debian.org e-mail address, perhaps you can feed
me patches to debian/ area and deb: rule in the main Makefile?
Sure. I have also talked this over with a few people and am going to
make official uploads occasionally.
Simon, I've received a patch to do *.changes file from Carl
Baldwin, and with his permission I am forwarding it to you,
hoping that you could include it (or reject it with explanation
to Carl and me) when you feed me your debian/ updates. Carl
says he wants to use dupload to populate his private apt-get
repository and the process wants the generated *.changes file.
Myself, I've been either installing with "dpkg -i" directly or
populating the apt-get repository by hand (yuck) but if dupload
is the preferred way to maintain private apt-get repository and
if having *.changes file helps that procedure, then...
---
diff --git a/Makefile b/Makefile
index bfdaf76..c1fcecb 100644
--- a/Makefile
+++ b/Makefile
@@ -452,8 +452,7 @@ rpm: dist
deb: dist
rm -rf $(GIT_TARNAME)
$(TAR) zxf $(GIT_TARNAME).tar.gz
- dpkg-source -b $(GIT_TARNAME)
- cd $(GIT_TARNAME) && fakeroot debian/rules binary
+ cd $(GIT_TARNAME) && dpkg-buildpackage -rfakeroot -us -uc
### Cleaning rules
@@ -464,6 +463,7 @@ clean:
rm -rf $(GIT_TARNAME)
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
rm -f git-core_$(GIT_VERSION)-*.dsc
+ rm -f git-core_$(GIT_VERSION)-*.changes
rm -f git-*_$(GIT_VERSION)-*.deb
$(MAKE) -C Documentation/ clean
$(MAKE) -C templates clean