[Pkg-wmaker-commits] [wmpinboard] 16/30: debian/rules: Use dh.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Wed Jan 27 23:31:38 UTC 2016


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

dtorrance-guest pushed a commit to branch master
in repository wmpinboard.

commit 1a3db45aefe93118e766e7baa5fb496a5e7e978a
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Tue Jan 26 22:45:31 2016 -0500

    debian/rules: Use dh.
---
 debian/rules | 79 ++----------------------------------------------------------
 1 file changed, 2 insertions(+), 77 deletions(-)

diff --git a/debian/rules b/debian/rules
index dbac414..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,79 +1,4 @@
 #!/usr/bin/make -f
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=1
-
-TMP=$(CURDIR)/debian/tmp
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-
-configure-stamp:
-	dh_testdir
-	touch configure.in Makefile.am */Makefile.am && sleep 2s && \
-	touch aclocal.m4 Makefile.in */Makefile.in && sleep 2s && \
-	touch stamp-h.in && sleep 2s && \
-	touch config.h.in configure
-	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man
-	touch configure-stamp
-
-configure:
-	./autogen.sh
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	touch build-stamp
-
-clean:	configure
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) maintainer-clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install DESTDIR=$(TMP)
-
-
-# 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_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installchangelogs ChangeLog
-	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
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmpinboard.git



More information about the Pkg-wmaker-commits mailing list