File: rules

package info (click to toggle)
assemblytics 1.0+ds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 416 kB
  • sloc: python: 564; perl: 234; php: 124; sh: 94; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

libexec = debian/assemblytics/usr/share/assemblytics/bin

%:
	dh $@

override_dh_install:
	dh_install
	sed -ri 's|(Rscript\s+)?\./bin/||' $(libexec)/web_pipeline
	sed -ri '1s|^#!\s*/usr/bin/env\s+|#!/usr/bin/|' $(libexec)/*
	sed -i  '1s|^|#!/usr/bin/Rscript\n|' $(libexec)/*.R

override_dh_fixperms:
	chmod +x $(libexec)/*
	dh_fixperms