[SCM] pd-cyclone/master: added dh_quilt commands and added to clean target
eighthave-guest at users.alioth.debian.org
eighthave-guest at users.alioth.debian.org
Fri Nov 12 02:08:53 UTC 2010
The following commit has been merged in the master branch:
commit d634143c93f5d35788bfa755b4939b42e7e7e367
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Thu Nov 11 19:03:16 2010 -0500
added dh_quilt commands and added to clean target
diff --git a/debian/rules b/debian/rules
index 08d0d26..fc26904 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,20 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# This file is public domain software, originally written by Joey Hess.
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
#
-# This version is for packages that are architecture independent.
+# This version is for packages that are architecture dependent.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
LIBRARY_NAME = cyclone
PACKAGE = pd-$(LIBRARY_NAME)
pkglibdir = /usr/lib/pd/extra
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
build: build-stamp
build-stamp:
dh_testdir
+ dh_quilt_patch
# Add here commands to compile the package.
$(MAKE) -C cyclone -f Makefile.libdir
@@ -27,7 +28,18 @@ clean:
# Add here commands to clean up after the build process.
$(MAKE) -C cyclone -f Makefile.libdir clean
+ $(MAKE) clean
+ -rm -f cyclone/Makefile.deps
+ -rm -f cyclone/hammer/Makefile.deps
+ -rm -f cyclone/shadow/Makefile.deps
+ -rm -f cyclone/sickle/Makefile.deps
+ -rm -f pddp/Makefile.deps shared/Makefile.deps shared/common/Makefile.deps
+ -rm -f shared/hammer/Makefile.deps shared/sickle/Makefile.deps
+ -rm -f shared/toxy/Makefile.deps shared/unstable/Makefile.deps
+ -rm -f toxy/Makefile.deps
+
+ dh_quilt_unpatch
dh_clean
install: build
@@ -36,7 +48,8 @@ install: build
dh_prep
dh_installdirs
- # Add here commands to install the package into debian/<packagename>.
+ # Add here commands to install the package into debian/<packagename>
+ #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
$(MAKE) -C cyclone -f Makefile.libdir DESTDIR=$(CURDIR)/debian/$(PACKAGE) \
prefix=/usr pkglibdir=$(pkglibdir) install
# remove cyclist until its documented and tested
@@ -45,16 +58,19 @@ install: build
override_dh_shlibdeps:
- dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
- -T$(CURDIR)/debian/$(PACKAGE).substvars
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux
-# 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_installchangelogs
dh_installdocs
dh_installexamples
+# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
@@ -70,20 +86,18 @@ binary-indep: build install
dh_lintian
# dh_bugfiles
# dh_undocumented
-# dh_installman
+ dh_installman
dh_link
+ dh_strip
dh_compress
dh_fixperms
# dh_perl
- dh_shlibdeps
+# dh_makeshlibs
dh_installdeb
+ dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
--
pd-cyclone packaging
More information about the pkg-multimedia-commits
mailing list