File: rules

package info (click to toggle)
artfastqgenerator 0.0.20150519-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,948 kB
  • sloc: java: 1,481; sh: 43; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# DH_VERBOSE := 1

DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')

%:
	dh $@ --with javahelper

override_dh_auto_build:
	javac -source 1.7 -target 1.7 artificialFastqGenerator/*.java && \
        jar -cmf META-INF/MANIFEST.MF $(DEBPKGNAME).jar artificialFastqGenerator/*.class

override_dh_auto_test:
	java -jar $(DEBPKGNAME).jar -R miniReference.fasta -O C1 -S ">1" -E ">" -URQS true -SE true -F1 test1.fastq -F2 test2.fastq
	rm C1.1.fastq C1.2.fastq

get-orig-source:
	. debian/get-orig-source