File: rules

package info (click to toggle)
r-cran-erm 1.0-1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,152 kB
  • sloc: f90: 400; ansic: 103; makefile: 8
file content (11 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

%:
	dh $@ --buildsystem R

override_dh_fixperms:
	dh_fixperms
	find debian -iname "*.R" -type f -executable -exec chmod -x \{\} \;
	find debian -name CITATION -executable -exec chmod -x \{\} \;
	find debian -name "*.pdf" -executable -exec chmod -x \{\} \;
	find debian \( -name "*.Rnw" -o -name "*.Rd" \) -executable -exec chmod -x \{\} \;