build script cleanups
authorjait <jari.tenhunen@iki.fi>
Tue, 20 Oct 2009 17:15:30 +0000 (17:15 +0000)
committerjait <jari.tenhunen@iki.fi>
Tue, 20 Oct 2009 17:15:30 +0000 (17:15 +0000)
git-svn-id: file:///svnroot/tunertool/branches/diablo@39 4bb5ff34-d565-4b58-9699-12000fa1827a

autogen.sh
debian/rules

index 9d84a03..988982f 100755 (executable)
@@ -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)
index d9926a0..494e526 100755 (executable)
@@ -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