[SCM] smplayer-themes packaging branch, master, updated. debian/0.1.19.dfsg-1-6-gbb93ed5
lucidfox-guest at users.alioth.debian.org
lucidfox-guest at users.alioth.debian.org
Fri Nov 20 14:04:03 UTC 2009
The following commit has been merged in the master branch:
commit 02067640f467e86679e94b21fd96ebc3c151d3f7
Author: Maia Kozheva <sikon at ubuntu.com>
Date: Fri Nov 20 19:58:04 2009 +0600
Migrate debian/rules to debhelper 7
diff --git a/debian/rules b/debian/rules
index 540b023..935ea3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
VERSION = $(shell dpkg-parsechangelog | grep Version | sed "s/Version: //")
ORIG_VERSION = $(shell echo $(VERSION) | sed s/-.*//)
@@ -10,33 +6,13 @@ UPSTREAM_VERSION = $(shell echo $(ORIG_VERSION) | sed s/\.dfsg//)
TARBALL_NAME = smplayer-themes-$(UPSTREAM_VERSION)
SRCDIR_NAME = smplayer-themes-$(ORIG_VERSION)
-build:
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- $(MAKE) install DESTDIR=$(CURDIR)/debian/smplayer-themes PREFIX=/usr
+%:
+ dh $@
-binary-arch: build install
+override_dh_auto_build:
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs Changelog
- dh_installdocs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
+override_dh_auto_install:
+ dh_auto_install -- PREFIX=/usr
get-orig-source:
uscan --verbose --force-download --no-symlink --upstream-version $(UPSTREAM_VERSION)
@@ -45,5 +21,3 @@ get-orig-source:
mv debian/$(TARBALL_NAME) debian/$(SRCDIR_NAME)
cd debian && tar cvzf ../../smplayer-themes_$(ORIG_VERSION).orig.tar.gz $(SRCDIR_NAME)
rm -rf debian/$(SRCDIR_NAME)
-
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
--
smplayer-themes packaging
More information about the pkg-multimedia-commits
mailing list