File: rules

package info (click to toggle)
r-cran-igraph 1.2.3-1~bpo9%2B1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 14,984 kB
  • sloc: ansic: 117,319; cpp: 22,287; fortran: 4,551; yacc: 1,150; tcl: 931; lex: 478; makefile: 149; sh: 9
file content (18 lines) | stat: -rwxr-xr-x 650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_HARDENING=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem R

override_dh_install:
	dh_install
	rm -f debian/$(DEB_SOURCE)/usr/lib/R/site-library/igraph/LICENSE
	rm -f debian/$(DEB_SOURCE)/usr/lib/R/site-library/igraph/html_library.license.terms
	mkdir -p debian/$(DEB_SOURCE)/usr/share/pixmaps/igraph
	mv debian/$(DEB_SOURCE)/usr/lib/R/site-library/igraph/*.gif debian/$(DEB_SOURCE)/usr/share/pixmaps/igraph/
	mv debian/$(DEB_SOURCE)/usr/lib/R/site-library/igraph/tkigraph_help/*.gif debian/$(DEB_SOURCE)/usr/share/pixmaps/igraph/