Author: tille
Date: 2012-03-08 08:07:16 +0000 (Thu, 08 Mar 2012)
New Revision: 9942

Added:
   trunk/packages/poa/trunk/debian/docs
   trunk/packages/poa/trunk/debian/examples
   trunk/packages/poa/trunk/debian/manpages
Modified:
   trunk/packages/poa/trunk/debian/changelog
   trunk/packages/poa/trunk/debian/rules
Log:
Use short dh in debian/rules


Modified: trunk/packages/poa/trunk/debian/changelog
===================================================================
--- trunk/packages/poa/trunk/debian/changelog   2012-03-08 07:50:42 UTC (rev 
9941)
+++ trunk/packages/poa/trunk/debian/changelog   2012-03-08 08:07:16 UTC (rev 
9942)
@@ -22,6 +22,7 @@
     - Standards-Version: 3.9.3 (no changes needed)
   * debian/source/format: 3.0 (quilt)
   * debhelper 9 (control+compat)
+  * debian/rules + debhelper files: use short dh
 
  -- Andreas Tille <[email protected]>  Thu, 08 Mar 2012 08:39:05 +0100
 

Added: trunk/packages/poa/trunk/debian/docs
===================================================================
--- trunk/packages/poa/trunk/debian/docs                                (rev 0)
+++ trunk/packages/poa/trunk/debian/docs        2012-03-08 08:07:16 UTC (rev 
9942)
@@ -0,0 +1 @@
+README

Added: trunk/packages/poa/trunk/debian/examples
===================================================================
--- trunk/packages/poa/trunk/debian/examples                            (rev 0)
+++ trunk/packages/poa/trunk/debian/examples    2012-03-08 08:07:16 UTC (rev 
9942)
@@ -0,0 +1 @@
+multidom.seq

Added: trunk/packages/poa/trunk/debian/manpages
===================================================================
--- trunk/packages/poa/trunk/debian/manpages                            (rev 0)
+++ trunk/packages/poa/trunk/debian/manpages    2012-03-08 08:07:16 UTC (rev 
9942)
@@ -0,0 +1 @@
+debian/*.1

Modified: trunk/packages/poa/trunk/debian/rules
===================================================================
--- trunk/packages/poa/trunk/debian/rules       2012-03-08 07:50:42 UTC (rev 
9941)
+++ trunk/packages/poa/trunk/debian/rules       2012-03-08 08:07:16 UTC (rev 
9942)
@@ -1,71 +1,23 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Build rules for the Debian package poa
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# Modifications by Charles Plessy during the year 2006
-# are hereby released as "public domain"
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-PROGRAM_NAME   =       poa
+PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
-CFLAGS = -Wall -g
+%:
+       dh $@
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
-
 DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
 XP=xsltproc \
        -o debian/ \
        -''-nonet
 
-$(PROGRAM_NAME).1: debian/$(PROGRAM_NAME).1.xml
+$(PKG).1: debian/$(PKG).1.xml
        $(XP) $(DB2MAN) $<
 
-build-stamp: build
-build:
-       dh_testdir
-       $(MAKE) $(PROGRAM_NAME)
-       touch build-stamp
+override_dh_auto_build:
+       $(MAKE) poa
 
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp
-       [ ! -f Makefile ] || $(MAKE) clean
-       dh_clean
+override_dh_auto_test:
+       ./$(PKG) -read_fasta multidom.seq -clustal /dev/stdout -v blosum80.mat
 
-test:
-       ./poa -read_fasta multidom.seq -clustal /dev/stdout -v blosum80.mat
-
-install: build-stamp
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-
-binary-indep: build install
-
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs README
-       dh_installexamples multidom.seq
-       dh_install
-       dh_installman debian/$(PROGRAM_NAME).1
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to