aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-12 01:03:07 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-12 10:38:22 -0700
commit5a571cdd8ab390e13fc02da6d6489d2ffa668aa4 (patch)
tree7e4817fc0203156ec96901237e7876001550d99a
parentb097584b790b3ec214ceed4ecc6eb6a8f4a69a8f (diff)
downloadgit-5a571cdd8ab390e13fc02da6d6489d2ffa668aa4.tar.gz
git-5a571cdd8ab390e13fc02da6d6489d2ffa668aa4.tar.xz
Clean generated files a bit more, to cope with Debian build droppings.
Also attempt to build a source package for debian.
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e8441af57..f53ccb424 100644
--- a/Makefile
+++ b/Makefile
@@ -238,15 +238,18 @@ 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
### Cleaning rules
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
- rm -f $(GIT_TARNAME).tar.gz git-core.spec
- rm -f git-core_$(GIT_VERSION)-*.deb git-tk_$(GIT_VERSION)-*.deb
+ rm -f git-core.spec
rm -rf $(GIT_TARNAME)
+ rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
+ rm -f git-core_$(GIT_VERSION)-*.deb git-core_$(GIT_VERSION)-*.dsc
+ rm -f git-tk_$(GIT_VERSION)-*.deb
$(MAKE) -C tools/ clean
$(MAKE) -C Documentation/ clean
$(MAKE) -C templates/ clean