[SCM] horgand packaging branch, master, updated. upstream/1.14-15-g67f9427

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Tue Feb 23 21:48:27 UTC 2010


The following commit has been merged in the master branch:
commit 67f9427ca4fc73d500e2f042d343aa3e2e4962d9
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Tue Feb 23 22:48:20 2010 +0100

    Testing debhelper 7.

diff --git a/debian/rules b/debian/rules
index 972fc58..cd47ffc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,101 +1,96 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-config.status:
-	dh_testdir
-	# Add here commands to configure the package.
-	./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --bindir=/usr/lib/horgand
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-	rm -f configure-stamp
-	-rm config.log
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess config.guess
-
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/horgand.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/horgand
-	cp debian/horgand.wrapper $(CURDIR)/debian/horgand/usr/bin/horgand
-	chmod 755 $(CURDIR)/debian/horgand/usr/bin/horgand
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_install
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs ChangeLog
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+
+%:
+	dh $@
+
+## These are used for cross-compiling and for saving the configure script
+## from having to guess our platform (since we know it already)
+#DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+#DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+#	CFLAGS += -g
+#endif
+#ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+#	INSTALL_PROGRAM += -s
+#endif
+
+#config.status:
+#	dh_testdir
+#	# Add here commands to configure the package.
+#	./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --bindir=/usr/lib/horgand
+
+#build: build-stamp
+
+#build-stamp:  config.status
+#	dh_testdir
+
+#	# Add here commands to compile the package.
+#	$(MAKE)
+
+#	touch build-stamp
+
+#clean:
+#	dh_testdir
+#	dh_testroot
+#	rm -f build-stamp 
+#	rm -f configure-stamp
+#	-rm config.log
+
+#	# Add here commands to clean up after the build process.
+#	-$(MAKE) distclean
+#	-test -r /usr/share/misc/config.sub && \
+#	  cp -f /usr/share/misc/config.sub config.sub
+#	-test -r /usr/share/misc/config.guess && \
+#	  cp -f /usr/share/misc/config.guess config.guess
+
+
+#	dh_clean
+
+#install: build
+#	dh_testdir
+#	dh_testroot
+#	dh_clean -k
+#	dh_installdirs
+
+#	# Add here commands to install the package into debian/horgand.
+#	$(MAKE) install DESTDIR=$(CURDIR)/debian/horgand
+#	cp debian/horgand.wrapper $(CURDIR)/debian/horgand/usr/bin/horgand
+#	chmod 755 $(CURDIR)/debian/horgand/usr/bin/horgand
+
+## Build architecture-independent files here.
+#binary-indep: build install
+## We have nothing to do by default.
+
+## Build architecture-dependent files here.
+#binary-arch: build install
+#	dh_testdir
+#	dh_testroot
+#	dh_install
+#	dh_installdocs
+#	dh_installexamples
+#	dh_installmenu
+##	dh_installlogrotate
+##	dh_installemacsen
+##	dh_installpam
+##	dh_installmime
+##	dh_installinit
+#	dh_installcron
+#	dh_installman
+#	dh_installinfo
+##	dh_undocumented
+#	dh_installchangelogs ChangeLog
+#	dh_link
+#	dh_strip
+#	dh_compress
+#	dh_fixperms
+##	dh_makeshlibs
+#	dh_installdeb
+##	dh_perl
+#	dh_shlibdeps
+#	dh_gencontrol
+#	dh_md5sums
+#	dh_builddeb
+
+#binary: binary-indep binary-arch
+#.PHONY: build clean binary-indep binary-arch binary install 

-- 
horgand packaging



More information about the pkg-multimedia-commits mailing list