]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - debian/rules
debian/rules: Provide build-arch and build-indep
[mirror_smartmontools-debian.git] / debian / rules
index 8bcb99a28f0de192529777265b64d1ae805a883f..1436d7554017d0c5a7d81a3cdfe9e112508ee3af 100755 (executable)
@@ -5,9 +5,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# for quilt
-include /usr/share/quilt/quilt.make
-
 DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
 
@@ -42,7 +39,7 @@ get-orig-source:
                echo "  "$(TARBALL)" created; move it to the right destination to build the package"
 
 configure: configure-stamp
-configure-stamp: debian/stamp-patched
+configure-stamp: 
        dh_testdir
        ./autogen.sh
        CFLAGS="${CFLAGS}" ./configure --prefix=/usr             \
@@ -59,15 +56,16 @@ configure-stamp: debian/stamp-patched
                                ${CONFIGURE_ARGS}
        touch configure-stamp
 
-
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp: configure-stamp
        dh_testdir
        # Add here commands to compile the package.
        $(MAKE)
        touch build-stamp
 
-clean: unpatch
+clean: 
        dh_testdir
        dh_testroot
        # rm -f debian/logcheck.logcheck.ignore.*
@@ -104,7 +102,7 @@ binary-arch: build install
        dh_installman
        dh_installinfo
        dh_lintian
-       dh_installchangelogs CHANGELOG
+       dh_installchangelogs ChangeLog
        dh_link
        dh_strip
        dh_compress