aboutsummaryrefslogtreecommitdiff
path: root/bigtop-packages/src/deb/bigtop-utils
diff options
context:
space:
mode:
authorrvs <rvs@13f79535-47bb-0310-9956-ffa450edef68>2012-10-22 15:21:40 +0000
committerRoman Shaposhnik <rvs@cloudera.com>2012-11-02 08:39:24 -0700
commita3bc72115e21b3708f3202de2b29ce946d63f17a (patch)
tree18631c9cfdf250d294645fec1479fc9a01afeab0 /bigtop-packages/src/deb/bigtop-utils
parenta893c8ec296d262a8dbdf444063fd9d528a0177a (diff)
BIGTOP-713. use newer debhelper and source format 3.0 (quilt) for Debian and Ubuntu packaging (James Page, Sean Mackrory, Anatoli Fomenko via rvs)
git-svn-id: https://svn.apache.org/repos/asf/bigtop/trunk@1400914 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bigtop-packages/src/deb/bigtop-utils')
-rw-r--r--bigtop-packages/src/deb/bigtop-utils/control2
-rw-r--r--bigtop-packages/src/deb/bigtop-utils/rules46
-rw-r--r--bigtop-packages/src/deb/bigtop-utils/source/format1
3 files changed, 5 insertions, 44 deletions
diff --git a/bigtop-packages/src/deb/bigtop-utils/control b/bigtop-packages/src/deb/bigtop-utils/control
index 091855e7..ce7af01a 100644
--- a/bigtop-packages/src/deb/bigtop-utils/control
+++ b/bigtop-packages/src/deb/bigtop-utils/control
@@ -16,7 +16,7 @@ Source: bigtop-utils
Section: misc
Priority: extra
Maintainer: Bigtop <bigtop-dev@incubator.apache.org>
-Build-Depends: debhelper (>= 7.0.0~)
+Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.8.0
Homepage: http://incubator.apache.org/bigtop/
diff --git a/bigtop-packages/src/deb/bigtop-utils/rules b/bigtop-packages/src/deb/bigtop-utils/rules
index d860d78d..984b2ff8 100644
--- a/bigtop-packages/src/deb/bigtop-utils/rules
+++ b/bigtop-packages/src/deb/bigtop-utils/rules
@@ -25,52 +25,12 @@ export DH_OPTIONS
DISTRO_CODENAME=$(shell lsb_release -sc)
-patch: patch-stamp
-patch-stamp:
- touch $@
+%:
+ dh $@
-build:
- dh_testdir
- dh_clean -k
-
-
-build-indep: build-indep-stamp
-build-indep-stamp: patch-stamp
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f *-stamp
- dh_clean
- find debian -name .\*swp -exec rm -f {} \;
-
-install: install-indep
-install-indep:
- dh_installdirs
+override_dh_auto_install:
# Copy repo file
install -d -p -m 755 debian/bigtop-utils/usr/lib/bigtop-utils/
install -p -m 755 debian/bigtop-detect-javahome debian/bigtop-utils/usr/lib/bigtop-utils/
install -d -p -m 755 debian/bigtop-utils/etc/default
install -p -m 644 debian/bigtop-utils.default debian/bigtop-utils/etc/default/bigtop-utils
- dh_install
-
-
-binary-common:
- dh_testdir
- dh_testroot
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdocs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-indep: build install install-indep
- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-binary: binary-indep
-
-.PHONY: clean install-indep binary-arc
diff --git a/bigtop-packages/src/deb/bigtop-utils/source/format b/bigtop-packages/src/deb/bigtop-utils/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/bigtop-packages/src/deb/bigtop-utils/source/format
@@ -0,0 +1 @@
+3.0 (quilt)