aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-06 22:29:21 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-06 22:29:21 -0700
commitf29eaed12fc07bc5b2e4d1a302136a26ff4488ce (patch)
tree6a79fed2fb0e7fa3486f84ab97d1d046dc0f4003 /Makefile
parentd5928d602667546d9834beb0ab8bf641ad45c028 (diff)
downloadgit-f29eaed12fc07bc5b2e4d1a302136a26ff4488ce.tar.gz
Fix build rules for debian package.
Run install-tools target to install the tools to accept e-mail patches. Also clean up the main Makefile a bit. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ecc2277540..c01327c1c6 100644
--- a/Makefile
+++ b/Makefile
@@ -234,16 +234,16 @@ rpm: dist
$(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
deb: dist
- rm -rf git-core-$(GIT_VERSION)
- tar zxf git-core-$(GIT_VERSION).tar.gz
- cd git-core-$(GIT_VERSION) && fakeroot debian/rules binary
+ rm -rf $(GIT_TARNAME)
+ tar zxf $(GIT_TARNAME).tar.gz
+ cd $(GIT_TARNAME) && fakeroot debian/rules binary
### Cleaning rules
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
- rm -f git-core-*.tar.gz git-core.spec git-core-$(GIT_VERSION)-*.deb
- rm -rf git-core-$(GIT_VERSION)
+ rm -f $(GIT_TARNAME).tar.gz git-core.spec git-core_$(GIT_VERSION)-*.deb
+ rm -rf $(GIT_TARNAME)
$(MAKE) -C tools/ clean
$(MAKE) -C Documentation/ clean
$(MAKE) -C templates/ clean