]> git.deb.at Git - pkg/mmv.git/blobdiff - debian/rules
Finalize
[pkg/mmv.git] / debian / rules
index 409795105c20193dd2a7b1b13c7e0f59363e3827..63237708b8bdef46c7c252b6bb48d01d86115753 100755 (executable)
@@ -3,38 +3,8 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-# Builds the binary package.
-       dh_testdir
-       dh_auto_build -- LDFLAGS="$(LDFLAGS)"
+%:
+       dh $@
 
-clean:
-# Undoes the effect of `make -f debian/rules build'.
-       dh_testdir
-       dh_auto_clean
-       dh_clean
-
-binary: binary-arch binary-indep
-
-binary-indep:
-       dh_testdir
-
-binary-arch: build
-       dh_testdir
-# Makes a binary package.
-       dh_installdirs
-       dh_auto_install
-       dh_strip
-       dh_link
-       dh_installdocs
-       dh_installchangelogs
-       dh_compress
-       dh_lintian
-       dh_fixperms
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+override_dh_auto_build:
+       dh_auto_build -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) $(shell getconf LFS_CFLAGS) -DIS_SYSV -DHAS_DIRENT -DHAS_RENAME"