[Pkg-wmaker-commits] [wmcdplay] 20/79: debian/rules: Simplify to use dh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 11:04:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcdplay.
commit e87da71fd1dc7f0c9e0f00e67ca441b202ac2036
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Jul 29 11:44:02 2014 -0500
debian/rules: Simplify to use dh.
---
debian/changelog | 2 ++
debian/rules | 63 ++++----------------------------------------------------
2 files changed, 6 insertions(+), 59 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a33030b..8a814f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ wmcdplay (1.0beta1-12) unstable; urgency=low
- New file; install artwork.
* debian/manpages
- New file.
+ * debian/rules
+ - Simplify to use dh.
-- Doug Torrance <dtorrance at monmouthcollege.edu> Tue, 29 Jul 2014 09:11:19 -0500
diff --git a/debian/rules b/debian/rules
index 6d49203..4755ddf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,62 +1,7 @@
#!/usr/bin/make -f
-# This is a -*- makefile -*-
-# Modified from the sample debian/rules that uses debhelper.
-# GNU copyright 1998 by Marcelo Magallon.
-# GNU copyright 1997 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+ dh $@
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-
-build-stamp:
- dh_testdir
- xmkmf -a
- perl -pi -e 's/-DX_LOCALE//g;' Makefile
- $(MAKE) CC=c++ CXXDEBUGFLAGS="-g -O2"
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-
-# Build architecture-independent files here.
-binary-indep: build
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build
-# dh_testversion
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
- install -s -m 0755 wmcdplay `pwd`/debian/wmcdplay/usr/bin/wmcdplay
- install -m 0644 XPM/*.art `pwd`/debian/wmcdplay/usr/share/wmcdplay
-# ( cd XPM ; tar cf - . ) | \
-# ( cd debian/tmp/usr/share/wmcdplay/ ; tar xvf - )
-# mv debian/tmp/usr/share/wmcdplay/*.art \
-# debian/tmp/usr/share/wmcdplay
- dh_installdocs
- dh_installmenu
- dh_installman debian/wmcdplay.1x
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+override_dh_auto_configure:
+ xmkmf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcdplay.git
More information about the Pkg-wmaker-commits
mailing list