[hamradio-commits] [extra-xdg-menus] 02/05: Update build system to dh

Iain Learmonth irl-guest at moszumanska.debian.org
Wed Feb 11 00:35:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

irl-guest pushed a commit to branch master
in repository extra-xdg-menus.

commit f29234e0ee062fde04d1863beb044a7fdb759eca
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Wed Feb 11 00:08:54 2015 +0000

    Update build system to dh
---
 debian/changelog |  2 ++
 debian/rules     | 54 ++++--------------------------------------------------
 2 files changed, 6 insertions(+), 50 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index db85473..a3d1637 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ extra-xdg-menus (2.0) UNRELEASED; urgency=medium
 
   [ Iain R. Learmonth ]
   * Convert to native package
+  * Update Standards Version to 3.9.6
+  * Switch build system to dh
   [ Dave Hibberd ]
   * Added Subcategories for Ham Radio, matching blend categories
 
diff --git a/debian/rules b/debian/rules
index 86b045e..9bc4ca2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@ --with autoreconf
 
-config.status: configure
-	dh_testdir
-	./configure --prefix=/usr
-
-build: build-stamp
-
-build-stamp: config.status
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/extra-xdg-menus
-	# Remove un-needed translation files (translations are merged into the .directory files)
+override_dh_auto_install:
+	dh_auto_install
 	rm -rf $(CURDIR)/debian/extra-xdg-menus/usr/share/locale/
 
-binary-arch: build install
-# We have nothing to do
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installman
-	dh_compress
-	dh_fixperms
-	dh_icons
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep
-
-.PHONY: build clean binary-indep binary-arch binary install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/extra-xdg-menus.git



More information about the pkg-hamradio-commits mailing list