File: rules

package info (click to toggle)
r-cran-amelia 1.7.4-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,144 kB
  • ctags: 12
  • sloc: cpp: 419; lisp: 108; makefile: 27
file content (25 lines) | stat: -rwxr-xr-x 882 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
23
24
25
#!/usr/bin/make -f
# 							-*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-car package
# Copyright 2003 by Dirk Eddelbuettel <edd@debian.org>

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

PKG_CFLAGS=$(CFLAGS)
PKG_CXXFLAGS=$(CXXFLAGS)
PKG_CPPFLAGS=$(CPPFLAGS)
PKG_FFLAGS=$(FFLAGS)

export PKG_CFLAGS PKG_CXXFLAGS PKG_CPPFLAGS PKG_FFLAGS

makeFlags="LDFLAGS=$(LDFLAGS)"

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

common-binary-post-install-indep::
	ln -s ../../../lib/R/site-library/Amelia/doc/amelia.pdf debian/r-cran-amelia/usr/share/doc/r-cran-amelia/amelia.pdf
	rm -vf debian/r-cran-amelia/usr/lib/R/site-library/Amelia/COPYING
	rm -vf debian/r-cran-amelia/usr/lib/R/site-library/Amelia/LICENSE
	rm -rvf debian/r-cran-amelia/usr/lib/R/site-library/Amelia/tklibs/BWidget-1.7.0
	rm -vf debian/r-cran-amelia/usr/share/doc/r-cran-amelia/README