diff options
author | Thierry Reding <[email protected]> | 2006-10-15 00:49:41 +0000 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2006-10-15 00:49:41 +0000 |
commit | 8d02f3c68a1852de6bfe8c0b58c325224fef9743 (patch) | |
tree | 203f95f3229827a0d19a1d7843ade51517799b99 /debian/rules | |
parent | b1f8b49e8b17cffb68d8829ba7562479933bf70c (diff) |
Add patch to fix upstream build system to correctly install libOSMesa and
variants. This patch also fixes the build system not to install libGL if only
the OSMesa library is built.
Update *.install files to install more files. Pretty much everything except
debugging and optimized libraries is now built and installed.
Enable building static libraries for inclusion in the -dev packages.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 0b0e60f3438..966d25ed8b8 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +QUILT_STAMPFN ?= debian/stamp/patch +include /usr/share/quilt/quilt.make + CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -34,7 +37,8 @@ CONFIGS = debian \ debian-osmesa16 \ debian-osmesa16-static \ debian-osmesa32 \ - debian-osmesa32-static + debian-osmesa32-static \ + debian-static STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE) BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS)) @@ -44,7 +48,7 @@ debian/stamp: dh_testdir mkdir -p debian/stamp -build: debian/stamp $(BUILD_STAMPS) +build: debian/stamp patch $(BUILD_STAMPS) $(STAMP)-build-%: dh_testdir mkdir -p $(DEB_BUILD_DIR)/$* @@ -57,15 +61,17 @@ pre-install: dh_testdir dh_testroot dh_clean -k --exclude ./Makefile.orig --exclude configs/CVS/Root.bak + rm -rf $(INSTALL_STAMPS) dh_installdirs install: build pre-install $(INSTALL_STAMPS) -$(STAMP)-install-%: +$(STAMP)-install-%: $(STAMP)-build-% # Add here commands to install the package into debian/tmp cd $(DEB_BUILD_DIR)/$* && $(MAKE) install INSTALL_DIR=$(CURDIR)/debian/tmp/usr + touch $@ -clean: +clean: unpatch dh_testdir dh_testroot rm -rf $(DEB_BUILD_DIR) debian/stamp |