File: rules

package info (click to toggle)
rcmdr 1.6-0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,524 kB
  • ctags: 2
  • sloc: makefile: 10; ansic: 9
file content (17 lines) | stat: -rwxr-xr-x 724 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# 							-*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-rcmdr package
# Copyright 2003 - 2009 by Dirk Eddelbuettel <edd@debian.org>

include /usr/share/R/debian/r-cran.mk

## additional chmod to silence lintian (NB -arch or -indep needed!!)
lintiandir	:= $(CURDIR)/debian/$(package)/usr/share/lintian/overrides
common-binary-post-install-indep::
		chmod 0644 $(debRlib)/Rcmdr/doc/Getting-Started-with-the-Rcmdr.pdf
		chmod 0644 $(debRlib)/Rcmdr/etc/*
		chmod 0644 $(debRlib)/Rcmdr/po/*/LC_MESSAGES/R-Rcmdr.mo
		chmod 0644 $(debRlib)/Rcmdr/CHANGES
		chmod 0755 $(debRlib)/Rcmdr/etc/linux/Rcmdr.sh
		install -d $(lintiandir)
		install -m 0644 debian/overrides $(lintiandir)/$(package)