File: rules

package info (click to toggle)
r-cran-diptest 0.75-7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 560 kB
  • sloc: ansic: 203; sh: 13; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 815 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 $@ --buildsystem R

# Avoiding lintian warnings
#W: r-cran-diptest: executable-not-elf-or-script usr/lib/R/site-library/diptest/doc/hist-D11.rda
#W: r-cran-diptest: executable-not-elf-or-script usr/lib/R/site-library/diptest/doc/diptest-issues.Rnw
#W: r-cran-diptest: executable-not-elf-or-script usr/lib/R/site-library/diptest/NEWS.Rd
#W: r-cran-diptest: executable-not-elf-or-script usr/lib/R/site-library/diptest/doc/diptest.bib
#W: r-cran-diptest: executable-not-elf-or-script usr/lib/R/site-library/diptest/extraData/qDiptab.rds
override_dh_auto_install:
	dh_auto_install
	find debian \( -name "*.bib" -o -name "*.rda" -o -name "*.Rd" -o -name "*.Rnw" -o -name "*.rds" \) | xargs -r chmod -x


override_dh_auto_clean:
	dh_auto_clean
	find . \( -name "*.o" -o -name "*.so" \) -delete