[med-svn] r17751 - trunk/packages/last-align/trunk/debian
Charles Plessy
plessy at moszumanska.debian.org
Sat Aug 16 06:05:25 UTC 2014
Author: plessy
Date: 2014-08-16 06:05:25 +0000 (Sat, 16 Aug 2014)
New Revision: 17751
Modified:
trunk/packages/last-align/trunk/debian/rules
Log:
Factor some code related to help2man.
Modified: trunk/packages/last-align/trunk/debian/rules
===================================================================
--- trunk/packages/last-align/trunk/debian/rules 2014-08-16 05:57:01 UTC (rev 17750)
+++ trunk/packages/last-align/trunk/debian/rules 2014-08-16 06:05:25 UTC (rev 17751)
@@ -21,6 +21,8 @@
override_dh_auto_build:
make all CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
+HELP2MAN = help2man --no-info --version-string="$(version)"
+
override_dh_auto_install:
make install prefix=$(CURDIR)/debian/$(pkg)/usr
prename 's/.py$$//' debian/$(pkg)/usr/bin/*py
@@ -28,50 +30,53 @@
# 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)" \
+ $(HELP2MAN) \
+ --name='make a dotplot, a.k.a. Oxford Grid, of alignments in LAST tabular format' \
$(CURDIR)/scripts/last-dotplot.py > $(mandir)/last-dotplot.1
- help2man --no-info --name="genome-scale comparison of biological sequences" \
- --version-string="$(version)" --help-option="-h" \
+ $(HELP2MAN) \
+ --name="genome-scale comparison of biological sequences" \
+ --help-option="-h" \
$(CURDIR)/src/lastal > $(mandir)/lastal.1
- help2man --no-info --name="genome-scale comparison of biological sequences" \
- --version-string="$(version)" --help-option="-h" \
+ $(HELP2MAN) \
+ --name="genome-scale comparison of biological sequences" \
+ --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" \
+ $(HELP2MAN) \
+ --name="Calculate expected numbers of alignments for random sequences." \
+ --help-option="-h" \
$(CURDIR)/src/lastex > $(mandir)/lastex.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Sort MAF-format alignments by sequence name" \
$(CURDIR)/scripts/maf-sort.sh > $(mandir)/maf-sort.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="changes the order of the sequences in MAF-format alignments" \
$(CURDIR)/scripts/maf-swap.py > $(mandir)/maf-swap.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Add extra column with mapping probabilities" \
$(CURDIR)/scripts/last-map-probs.py > $(mandir)/last-map-probs.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Read files of lastal output, merge corresponding batches, and write them." \
$(CURDIR)/scripts/last-merge-batches.py > $(mandir)/last-merge-batches.1
# These scripts were droped
- #help2man --no-info --version-string="$(version)" \
+ #$(HELP2MAN) \
# --name="Clean up MAF-format alignments" \
# $(CURDIR)/scripts/last-reduce-alignments.sh > $(mandir)/last-reduce-alignments.1
- #help2man --no-info --version-string="$(version)" \
+ #$(HELP2MAN) \
# --name='Remove MAF-format alignments which are "dominated" by others' \
# $(CURDIR)/scripts/last-remove-dominated.py > $(mandir)/last-remove-dominated.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name='Estimates "split" or "spliced" alignments.' \
$(CURDIR)/src/last-split > $(mandir)/last-split.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Join two or more sets of MAF-format multiple alignments" \
$(CURDIR)/scripts/maf-join.py > $(mandir)/maf-join.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Convert MAF-format alignments to tabular format" \
$(CURDIR)/scripts/maf-convert.py > $(mandir)/maf-convert.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Cull alignments whose top\-sequence coordinates are contained in LIMIT or more" \
$(CURDIR)/scripts/maf-cull.py > $(mandir)/maf-cull.1
- help2man --no-info --version-string="$(version)" \
+ $(HELP2MAN) \
--name="Read alignments of paired DNA reads to a genome" \
$(CURDIR)/scripts/last-pair-probs.py > $(mandir)/last-pair-probs.1
More information about the debian-med-commit
mailing list