From c22967ff4b7e1644043a7c6ff9d11407ef97e426 Mon Sep 17 00:00:00 2001 From: jait Date: Tue, 20 Oct 2009 17:15:30 +0000 Subject: [PATCH] build script cleanups git-svn-id: file:///svnroot/tunertool/branches/diablo@39 4bb5ff34-d565-4b58-9699-12000fa1827a --- autogen.sh | 2 +- debian/rules | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index 9d84a03..988982f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,7 +3,7 @@ # to the right versions, or leave them unset and get the RedHat 7.3 defaults DIE=0 -package=gst-plugin +package=tuner srcfile=src/main.c # autogen.sh helper functions (copied from GStreamer's common/ CVS module) diff --git a/debian/rules b/debian/rules index d9926a0..494e526 100755 --- a/debian/rules +++ b/debian/rules @@ -26,20 +26,17 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif -config.status: configure +config.status: dh_testdir + ./autogen.sh # Add here commands to configure the package. CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info --with-maemo -configure: - ./autogen.sh - - build: build-stamp -build-stamp: config.status +build-stamp: config.status dh_testdir # Add here commands to compile the package. @@ -96,4 +93,4 @@ binary-arch: build install dh_builddeb binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +.PHONY: build clean binary-indep binary-arch binary install -- 1.7.9.5