File: rules

package info (click to toggle)
lefse 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 300 kB
  • sloc: python: 2,715; sh: 27; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# DH_VERBOSE := 1
DESTDIR=debian/lefse/usr/share/lefse

%:
	dh $@  --with python2

override_dh_auto_install:
	mkdir -p $(DESTDIR)
	cp -r lefsebiom $(DESTDIR)/
	for i in format_input lefse2circlader plot_cladogram plot_features plot_res qiime2lefse run_lefse;\
       	do\
		cp $$i.py $(DESTDIR)/$$i;\
		dh_link /usr/share/lefse/$$i /usr/bin/$$i;\
	done

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/*/usr/share/lefse/lefsebiom/*.py