File: rules

package info (click to toggle)
r-cran-hdf5r 1.3.3+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,344 kB
  • sloc: ansic: 85,341; python: 32; sh: 20; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download
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

override_dh_auto_clean:
	dh_auto_clean
	rm -f src/Wrapper_auto_*
	rm -f src/const_export.c src/const_export.h src/datatype_export.c src/datatype_export.h src/export_auto.h
	rm -f config.log config.status src/HelperStructs.h src/Makevars

override_dh_install:
	dh_install
	find debian -name m4 -type d | xargs rm -rf

override_dh_fixperms:
	dh_fixperms
	find debian \( -name "*.txt" -o -name "*.R" -o -name "*.h" -o -name "*.csv" -o -name "*.brew" -o -name "*.Rmd" -o -name README \) -exec chmod -x \{\} \;