This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository ncview.
commit 2a5f039e9cc02fd4747677eff2f40ea36524eb0d Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Sat Apr 18 02:13:18 2015 +0200 Use minimal dh rules with autoreconf. --- debian/changelog | 1 + debian/control | 1 + debian/rules | 86 ++++---------------------------------------------------- 3 files changed, 7 insertions(+), 81 deletions(-) diff --git a/debian/changelog b/debian/changelog index e399551..c6d9fe5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ ncview (2.1.5-1) UNRELEASED; urgency=medium fix version pattern to match all versions. * Update copyright file using copyright-format 1.0. * Bump debhelper compatibility to 9. + * Use minimal dh rules with autoreconf. -- Bas Couwenberg <sebas...@debian.org> Sat, 18 Apr 2015 01:44:18 +0200 diff --git a/debian/control b/debian/control index f1ab2d8..55958c1 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Magnus Hagdorn <magnus.hagd...@marsupium.org>, Section: science Priority: optional Build-Depends: debhelper (>= 9), + dh-autoreconf, autotools-dev, libxaw7-dev, libnetcdf-dev, diff --git a/debian/rules b/debian/rules index dbd6397..ce8b2b7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,85 +1,9 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +# 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 +%: + dh $@ \ + --with autoreconf \ + --parallel - - -config.status: configure - 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 - - sh ./configure $(CROSS) --prefix=$(CURDIR)/debian/ncview/usr CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - - touch $@ - -clean: - dh_testdir - dh_testroot - - # Add here commands to clean up after the build process. - [ ! -f Makefile ] || $(MAKE) clean - rm -f config.sub config.guess ncview.1 geteuid - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - # Add here commands to install the package into debian/ncview. - XAPPLRESDIR=$(CURDIR)/debian/ncview/etc/X11/app-defaults $(MAKE) \ - MANDIR=$(CURDIR)/debian/ncview/usr/share/man/man1 install - chmod a-x $(CURDIR)/debian/ncview/etc/X11/app-defaults/Ncview - -# 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_installman - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ncview.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel