[med-svn] r12841 - trunk/packages/meme/trunk/debian
Andreas Tille
tille at alioth.debian.org
Thu Jan 24 20:11:01 UTC 2013
Author: tille
Date: 2013-01-24 20:11:01 +0000 (Thu, 24 Jan 2013)
New Revision: 12841
Modified:
trunk/packages/meme/trunk/debian/rules
Log:
Create only valid manpages; try to enable building twice in a row ... but failed for the moment
Modified: trunk/packages/meme/trunk/debian/rules
===================================================================
--- trunk/packages/meme/trunk/debian/rules 2013-01-24 20:09:41 UTC (rev 12840)
+++ trunk/packages/meme/trunk/debian/rules 2013-01-24 20:11:01 UTC (rev 12841)
@@ -6,17 +6,15 @@
DBPATH=/var/lib/meme
LOGPATH=/var/log/meme
-MODULES=alphtype ama ama-qvalues ame beadstring beeml2meme cat_max centrimo ceqlogo changetoweb chen2meme clustalw-io clustalw2fasta clustalw2phylip compare_dates compute-prior-dist compute-uniform-priors download draw-mhmm dreme dust fasta-center fasta-dinucleotide-shuffle fasta-dinucleotide-shuffle.py fasta-fetch fasta-get-markov fasta-hamming-enrich fasta-hamming-enrich.py fasta-io fasta-make-index fasta-shuffle-letters fasta-subsample fasta-unique-names fimo fitevd gendb get_db_csv getsize gomo gomo_highlight hart2meme-bkg hartemink2psp hypergeometric.py iupac2meme jaspar2meme llr log-hmm mast mast2txt mcast meme meme-chip meme-get-motif meme-xml-html meme.bin meme2images meme2meme meme_p metameme mhmm mhmm-io mhmm2html mhmme mhmms mhmmscan motiph nmica2meme oldmeme2meme plotgen pmp_bf prior_utils.pl priority2meme psp-gen purge qvalue ramen ranksum_test read_fasta_file.pl reconcile-tree-alignment reduce-alignment remove-alignment-gaps rna2meme scpd2meme sd sequence.py shadow spamo taipale2meme tamo2meme tomtom transfac2meme tree uniprobe2meme update_db update_meme_tests xsltproc_lite
%:
- dh $@ --with autoreconf,python2
+ dh $@ --with autotools_dev,autoreconf,python2
override_dh_auto_configure:
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --sysconfdir=/etc/meme \
--with-logs=$(LOGPATH) --with-db=$(DBPATH)
override_dh_auto_install:
- # make MEME_DB=`pwd`/debian/meme/$(DBPATH) install
dh_auto_install -- MEME_DB=$(DBPATH)
override_dh_install:
@@ -30,18 +28,20 @@
cp website/scripts/*.pm debian/tmp/usr/share/perl5/Meme
cp scripts/*.pm debian/tmp/usr/share/perl5/Meme
mkdir -p debian/tmp-manpages
- $(foreach var,$(MODULES), /usr/bin/pod2man debian/tmp/usr/bin/$(var) > debian/tmp-manpages/$(var).1;)
+ for var in `ls debian/tmp/usr/bin/*` ; do \
+ if head -n 1 $${var} | grep -q '^#!/usr/bin/perl' ; then pod2man $${var} > debian/tmp-manpages/`basename $${var}`.1 ; fi ; \
+ done
+ # Remove those manpages with zero bytes where pod2man failed in doing a proper job
+ find debian/tmp-manpages -size 0 -delete
dh_install -v --sourcedir=debian/tmp
find ./* -print
-override_dh_auto_clean:
+override_dh_auto_clean_x:
dh_auto_clean
rm -rf tests/*/*.sed
rm -rf tests/results
cd etc; rm -f fasta_db.csv fasta_db.index gomo_db.csv logo.js.xsl meme.css.xsl motif_db.csv motif_db.index tomtom_config.xml
rm -f scripts/*.pyc
- rm -f aclocal.m4
- find -type f -name Makefile -exec rm '{}' ';'
#XXX Disable testing temporarily to save time
override_dh_auto_test:
More information about the debian-med-commit
mailing list