File: rules

package info (click to toggle)
r-cran-seuratobject 5.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,536 kB
  • sloc: cpp: 109; sh: 14; makefile: 8; ansic: 4
file content (12 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@ --buildsystem R

RMBVERSION := $(shell dpkg-query -W -f='$${Version}\n' r-cran-matrix)
RVERSION   := $(shell dpkg-query -W -f='$${source:Upstream-Version}\n' r-base-core)

override_dh_gencontrol:
	sed -i "s/r-cran-matrix[^,]*/r-cran-matrix (>= $(RMBVERSION))/"   debian/*substvars
	sed -i "s/\(r-api-[0-9.]\+\),/\1, r-base-core (>= $(RVERSION)),/" debian/*substvars
	dh_gencontrol