[PATCH] Initial support for building a debian package (.deb)
[git.git] / Makefile
index 34a54a8..dd3c6cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -184,7 +184,7 @@ dist: git-core.spec git-tar-tree
        @cp git-core.spec $(GIT_TARNAME)
        tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
        @rm -rf $(GIT_TARNAME)
-       gzip -9 $(GIT_TARNAME).tar
+       gzip -f -9 $(GIT_TARNAME).tar
 
 rpm: dist
        $(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
@@ -192,6 +192,12 @@ rpm: dist
 test: all
        $(MAKE) -C t/ all
 
+doc:
+       $(MAKE) -C Documentation all
+
+install-doc:
+       $(MAKE) -C Documentation install
+
 clean:
        rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
        rm -f git-core-*.tar.gz git-core.spec