File: rules

package info (click to toggle)
r-cran-jquerylib 0.1.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 144 kB
  • sloc: sh: 28; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
JQUERY_VERSION := $(shell dpkg -s libjs-jquery | awk '/^Version:/ {print $$2}' | cut -d'+' -f1 | cut -d'-' -f1)

%:
	dh $@ --buildsystem R

override_dh_link: debian/r-cran-jquerylib.links
	dh_link

debian/%.links: debian/%.links.in
	sed -e 's/@JQUERY_VERSION@/$(JQUERY_VERSION)/g' $< > $@