Author: tille Date: 2012-05-07 12:42:56 +0000 (Mon, 07 May 2012) New Revision: 10725
Removed: trunk/packages/last-align/trunk/debian/install Modified: trunk/packages/last-align/trunk/debian/changelog trunk/packages/last-align/trunk/debian/control trunk/packages/last-align/trunk/debian/rules Log: New upstream version; switch from cdbs to dh Modified: trunk/packages/last-align/trunk/debian/changelog =================================================================== --- trunk/packages/last-align/trunk/debian/changelog 2012-05-07 12:33:42 UTC (rev 10724) +++ trunk/packages/last-align/trunk/debian/changelog 2012-05-07 12:42:56 UTC (rev 10725) @@ -1,9 +1,16 @@ -last-align (198-2) UNRELEASED; urgency=low +last-align (199-1) UNRELEASED; urgency=low + [ Charles Plessy ] * Summarise LAST license in debian/copyright header. - -- Charles Plessy <[email protected]> Fri, 20 Apr 2012 13:14:51 +0900 + [ Andreas Tille ] + * New upstream version + * debian/rules: + - switch from cdbs to dh + - add help2man call for lastex + -- Andreas Tille <[email protected]> Mon, 07 May 2012 13:28:25 +0200 + last-align (198-1) unstable; urgency=low * New upstream version Modified: trunk/packages/last-align/trunk/debian/control =================================================================== --- trunk/packages/last-align/trunk/debian/control 2012-05-07 12:33:42 UTC (rev 10724) +++ trunk/packages/last-align/trunk/debian/control 2012-05-07 12:42:56 UTC (rev 10725) @@ -5,7 +5,7 @@ DM-Upload-Allowed: yes Uploaders: Charles Plessy <[email protected]>, Andreas Tille <[email protected]> -Build-Depends: debhelper (>= 9), cdbs, help2man (>= 1.36.4+nmu1), python-imaging +Build-Depends: debhelper (>= 9), help2man (>= 1.36.4+nmu1), python-imaging Standards-Version: 3.9.3 Homepage: http://last.cbrc.jp/ Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/last-align/ Deleted: trunk/packages/last-align/trunk/debian/install =================================================================== --- trunk/packages/last-align/trunk/debian/install 2012-05-07 12:33:42 UTC (rev 10724) +++ trunk/packages/last-align/trunk/debian/install 2012-05-07 12:42:56 UTC (rev 10725) @@ -1,3 +0,0 @@ -scripts/* usr/bin -src/lastal usr/bin -src/lastdb usr/bin Modified: trunk/packages/last-align/trunk/debian/rules =================================================================== --- trunk/packages/last-align/trunk/debian/rules 2012-05-07 12:33:42 UTC (rev 10724) +++ trunk/packages/last-align/trunk/debian/rules 2012-05-07 12:42:56 UTC (rev 10725) @@ -6,27 +6,27 @@ # # http://debian-med.alioth.debian.org/docs/policy.html -include /usr/share/cdbs/1/rules/debhelper.mk -# include /usr/share/cdbs/1/rules/patchsys-quilt.mk -include /usr/share/cdbs/1/class/makefile.mk - -DEB_MAKE_BUILD_TARGET = --directory src -DEB_INSTALL_CHANGELOGS_ALL = ChangeLog.txt -DEB_DH_BUILDDEB_ARGS = -- -Z xz - -pkg=last-align +pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') version=$(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- ) mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1/ -clean:: - $(RM) src/lastdb src/lastal src/lastex src/*.o +# Copy upstream CXXFLAGS here because makefile enables only overriding them +CXXFLAGS += -Wall -Wextra -Wcast-qual -Wswitch-enum -Wundef -Wcast-align -Wno-long-long -ansi -pedantic +# -Wconversion +# -fomit-frame-pointer ? -binary-fixup/$(pkg):: +%: + dh $@ + +override_dh_auto_build: + make all CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" + +override_dh_auto_install: + make install prefix=$(CURDIR)/debian/$(pkg)/usr prename 's/.py$$//' debian/$(pkg)/usr/bin/*py prename 's/.sh$$//' debian/$(pkg)/usr/bin/*sh -# try to create man pages whereever possible -build/$(pkg):: + # try to create man pages whereever possible mkdir -p $(mandir) help2man --no-info --name='make a dotplot, a.k.a. Oxford Grid, of alignments in LAST tabular format' \ --version-string="$(version)" \ @@ -37,6 +37,9 @@ help2man --no-info --name="genome-scale comparison of biological sequences" \ --version-string="$(version)" --help-option="-h" \ $(CURDIR)/src/lastdb > $(mandir)/lastdb.1 + help2man --no-info --name="Calculate expected numbers of alignments for random sequences." \ + --version-string="$(version)" --help-option="-h" \ + $(CURDIR)/src/lastex > $(mandir)/lastex.1 help2man --no-info --version-string="$(version)" \ --name="Sort MAF-format alignments by sequence name" \ $(CURDIR)/scripts/maf-sort.sh > $(mandir)/maf-sort.1 @@ -68,6 +71,9 @@ --name="Read alignments of paired DNA reads to a genome" \ $(CURDIR)/scripts/last-pair-probs.py > $(mandir)/last-pair-probs.1 +override_dh_installchangelogs: + dh_installchangelogs ChangeLog.txt + get-orig-source: mkdir -p ../tarballs uscan --verbose --force-download --repack --rename --destdir=../tarballs _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
