Anonymous avatar Anonymous committed 71fb3de

[PATCH] Deb packages should include the binaries

The Deb packages were missing a dependency on "build install" from the
binary target - this fixes that, and cleans up some inconsistencies
elsewhere in the rulesets.

Traditionally, Debian packaging uses a file called "build-stamp" (or
"install-stamp", etc) in the main source tree. The initial deb package
support for Git tried to move this "build-stamp" file into the debian/
directory, but some instances were missed. That problem, however, was
incidental - the real fix is the missing dependency mentioned above.

Signed-off-by: Ryan Anderson <>;
Signed-off-by: Junio C Hamano <>;
Signed-off-by: Linus Torvalds <>;

Comments (0)

Files changed (3)

+git-core (0.99-1) unstable; urgency=low
+  * Update deb package support to build correctly. 
+ -- Ryan Anderson <>  Thu, 21 Jul 2005 02:03:32 -0400
 git-core (0.99-0) unstable; urgency=low
   * Initial deb package support
  -- Eric Biederman <>  Tue, 12 Jul 2005 10:57:51 -0600
 Package: git-core
 Architecture: any
-Depends: ${shlibs:Depends}, shellutils, diff, rsync, rcs
+Depends: ${misc:Depends}, shellutils, diff, rsync, rcs
 Description: The git content addressable filesystem
  GIT comes in two layers. The bottom layer is merely an extremely fast
  and flexible filesystem-based database designed to store directory trees
 DOC_DESTDIR := $(DESTDIR)/usr/share/doc/git-core/
-build: build-stamp
+build: debian/build-stamp
 	$(MAKE) all doc
 	touch debian/build-stamp
 clean: debian-clean
 	$(MAKE) clean
-install: debian/build-stamp
+install: build
 	dh_clean -k 
 	mkdir -p $(DOC_DESTDIR)
 	find $(DOC) '(' -name '*.txt' -o -name '*.html' ')' -exec install {} $(DOC_DESTDIR) ';'
-	dh_install --sourcedir=$(DESTDIR)
+	dh_install --list-missing --sourcedir=$(DESTDIR)
+binary: build install
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.