File: rules

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

include /usr/share/dh-r/r-cran.mk

%:
	dh $@ --buildsystem R

override_dh_install:
	dh_install
	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
	mkdir -p debian/$(package)/usr/share/R/site-library/$(cranName)
	mv debian/$(package)/usr/lib/R/site-library/$(cranName)/*.png debian/$(package)/usr/share/R/site-library/$(cranName)
	for img in debian/$(package)/usr/share/R/site-library/$(cranName)/*.png ; do \
	    ln -s ../../../../share/R/site-library/$(cranName)/`basename $${img}` debian/$(package)/usr/lib/R/site-library/$(cranName)/`basename $${img}` ; \
	done