[SCM] lv2dynparam1 packaging branch, master, updated. upstream/2-6-g4260cd5

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue Jul 21 10:28:55 UTC 2009


The following commit has been merged in the master branch:
commit 7fad80642aa6b113a1d0f14a6042bf4d177b97b5
Author: miramikes <mira at 64studio.64studio>
Date:   Tue Jul 21 12:29:06 2009 +0200

    rules file changed

diff --git a/debian/rules b/debian/rules
index 661b8b1..f311d7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+# -*- sh -*-
 # -*- makefile -*-
 # Sample debian/rules that uses debhelper.
 # This file was originally written by Joey Hess and Craig Small.
@@ -7,45 +8,22 @@
 # This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
-
-# 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 ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-
-
-config.status: configure
+configure: configure-stamp
+configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
+	./configure --prefix=$(CURDIR)/debian/lv2dynparam1/usr
+	touch configure-stamp
 
-build: build-stamp
-
-build-stamp:  config.status 
+build: configure-stamp build-stamp
+build-stamp:
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(MAKE)
-	#docbook-to-man debian/lv2dynparam1.sgml > lv2dynparam1.1
+	touch build-stamp
 
-	touch $@
+clean:
 
-clean: 
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
@@ -56,45 +34,32 @@ clean:
 
 	dh_clean 
 
+
 install: build
 	dh_testdir
 	dh_testroot
-	dh_prep  
+	dh_prep
 	dh_installdirs
-
-	# Add here commands to install the package into debian/lv2dynparam1.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/lv2dynparam1 install
-
+	$(MAKE) install 
+#--destdir=$(CURDIR)/debian/tmp
 
 # Build architecture-independent files here.
-binary-indep: install
+binary-indep: build install
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.
-binary-arch: install
+binary-arch: build install
 	dh_testdir
 	dh_testroot
+	dh_install -s --sourcedir=debian/tmp
 	dh_installchangelogs 
 	dh_installdocs
-#	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
 	dh_installman
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_makeshlibs
+	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
@@ -102,4 +67,4 @@ binary-arch: install
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install configure

-- 
lv2dynparam1 packaging



More information about the pkg-multimedia-commits mailing list