MT#7141 upgrade packaging style

mr3.3.1
Victor Seva 12 years ago
parent 0801cda274
commit d876d9bcb4
Notes: Jenkins User 11 years ago
jenkins_trigger: false

2
debian/compat vendored

@ -1 +1 @@
5
8

2
debian/control vendored

@ -2,7 +2,7 @@ Source: ngcp-metapackages
Section: utils
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 5)
Build-Depends: debhelper (>= 8~)
Standards-Version: 3.9.5
Homepage: http://sipwise.com/

2
debian/copyright vendored

@ -1,5 +1,5 @@
Upstream Author: The Sipwise Team - http://sipwise.com
Copyright: 2007-2011, Sipwise GmbH, Austria
Copyright: 2007-2014, Sipwise GmbH, Austria
License: GPL-3+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public

57
debian/rules vendored

@ -9,60 +9,5 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
b=$(CURDIR)/debian/build
build: build-stamp
build-stamp:
dh_testdir
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -rf $(b) build-stamp
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
%:
@echo "--- Building: $@"
dh_installdirs -p$@ -P$(b)/$@
dh_link -p$@ -P$(b)/$@
dh_installdocs -p$@ -P$(b)/$@
dh_installchangelogs -p$@ -P$(b)/$@
dh_install -p$@ -P$(b)/$@
dh_strip -p$@ -P$(b)/$@
dh_compress -p$@ -P$(b)/$@
test -f debian/overrides.$(@) && \
( mkdir -p $(b)/$(@)/usr/share/lintian/overrides/ && \
cp -av debian/overrides.$(@) $(b)/$(@)/usr/share/lintian/overrides/$(@) ) || echo "No overrides found for $@"
dh_fixperms -p$@ -P$(b)/$@
dh_makeshlibs -p$@ -P$(b)/$@ -V
dh_installdeb -p$@ -P$(b)/$@
dh_shlibdeps -p$@ -P$(b)/$@
dh_installdebconf -p$@ -P$(b)/$@
dh_gencontrol -p$@ -P$(b)/$@
dh_md5sums -p$@ -P$(b)/$@
dh_builddeb -p$@ -P$(b)/$@
binary-all: build install
binary-indep: build install \
ngcp-config-ce \
ngcp-config-pro \
ngcp-ngcp-ce \
ngcp-ngcp-pro \
ngcp-nth-ce \
ngcp-nth-pro \
ngcp-services-ce \
ngcp-services-pro \
ngcp-services-pro-ha-v3 \
ngcp-templates-ce \
ngcp-templates-pro
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
dh $@

@ -1 +1 @@
1.0
3.0 (native)

Loading…
Cancel
Save