File: rules

package info (click to toggle)
r-cran-rsconnect 0.8.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,288 kB
  • sloc: python: 80; sh: 13; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@ --buildsystem R


override_dh_installdocs:
	dh_installdocs
	# for some reason empty files are removed
	# since these are needed for the test suite
	# the files in question will be manually copied
	cp -a tests/testthat/shiny-app-in-subdir debian/*/usr/share/doc/r-cran-*/tests/testthat
	# leave some trace in build log
	ls -lR debian/*/usr/share/doc/r-cran-*/tests/testthat/shiny-app-in-subdir