[med-svn] [beast2-mcmc] 09/09: Strip old stuff from d/rules
Andreas Tille
tille at debian.org
Mon Sep 28 13:19:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository beast2-mcmc.
commit c93e8c4a460c392e1353d8a6f7f12b0ea98753c4
Author: Andreas Tille <tille at debian.org>
Date: Mon Sep 28 13:57:57 2015 +0200
Strip old stuff from d/rules
---
debian/rules | 42 ------------------------------------------
1 file changed, 42 deletions(-)
diff --git a/debian/rules b/debian/rules
index d073e6e..a977c4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,52 +22,10 @@ ANT_ARGS := -Dcompile.debug=true -Dcompile.optimize=true
%:
dh $@ --with javahelper
-override_dh_auto_clean:
- rm -f native/*\.o native/*\.so native/*\.so\.*
- for cleantex in \
- Practical_BEAST \
- BookSection \
- Practical_BEAST \
- Yule \
- SerialSampleCoalescent \
- BEAST14_Manual \
- ; do \
- find doc -not -name "*.tex" -a -not -name "*.bib" -and -name "$${cleantex}.*" -exec rm -f \{\} \; ; \
- done
- ant clean
-
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
PDFLATEX:=pdflatex -interaction=batchmode
-override_dh_auto_build:
- # CLASSPATH=$(CLASS_PATH)
- ant build
- ant -buildfile build_tracer.xml all
- # native/compileNativeLinux.sh does not create dynamic libraries
- cd native ; $(MAKE) -f Makefile.linux JAVA_HOME=$(JAVA_HOME)
-# gcc $(CFLAGS) $(LDFLAGS) -Wall -funroll-loops -ffast-math -fstrict-aliasing -c -I/usr/lib/jvm/default-java/include/ NucleotideLikelihoodCore.c -o libNucleotideLikelihoodCore.o ; \
-# gcc -shared -Wl,-soname,libNucleotideLikelihoodCore.so.0 -o libNucleotideLikelihoodCore.so.0 libNucleotideLikelihoodCore.o -lc ; \
-# gcc $(CFLAGS) $(LDFLAGS) -Wall -funroll-loops -ffast-math -fstrict-aliasing -c -I/usr/lib/jvm/default-java/include/ AminoAcidLikelihoodCore.c -o libAminoAcidLikelihoodCore.o ; \
-# gcc -shared -Wl,-soname,libAminoAcidLikelihoodCore.so.0 -o libAminoAcidLikelihoodCore.so libAminoAcidLikelihoodCore.o -lc
- #
- # Build extra LaTeX documentation
- #
- cd doc/BookSection; $(PDFLATEX) BookSection.tex; $(PDFLATEX) BookSection.tex
- cd doc/tutorial/Virus_Practical*; $(PDFLATEX) Practical_BEAST.tex; $(PDFLATEX) Practical_BEAST.tex
- cd doc; $(PDFLATEX) Yule.tex; $(PDFLATEX) Yule.tex
- cd doc; $(PDFLATEX) SerialSampleCoalescent.tex; $(PDFLATEX) SerialSampleCoalescent.tex
- cd doc; $(PDFLATEX) BEAST14_Manual.tex; $(PDFLATEX) BEAST14_Manual.tex
- #
- #####################################################################
- ## Run test suite ##
- ## -------------- ##
- ## While this test suite runs quite a bit of time (about 30min) it ##
- ## is recommended to be run at least once per new version upload ##
- #####################################################################
- #
- # $(JAVA) -classpath $(CLASS_PATH) -Dant.home=$(ANT_HOME) org.apache.tools.ant.Main $(ANT_ARGS) -buildfile build.xml junit
-
override_dh_compress:
dh_compress --exclude=.pdf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/beast2-mcmc.git
More information about the debian-med-commit
mailing list