File: rules

package info (click to toggle)
r-cran-tikzdevice 0.12.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,268 kB
  • sloc: ansic: 1,294; makefile: 15; sh: 13
file content (22 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem R

override_dh_install:
	dh_install
	find debian -name LICENSE -delete

override_dh_installdocs:
	dh_installdocs
	# Delete tests depending from devtools since this is not (yet) packaged
	cd debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/tests/ ; \
	if grep -qR devtools * ; then \
	    rm -f `grep -lR devtools *` ; \
	fi

override_dh_fixperms:
	dh_fixperms
	find debian/ -name tikzDevice.Rnw -exec chmod -x \{\} \;