[r-cran-jsonlite] 02/03: debian/rules: install CITATION in /u/s/d/$(package).

Joost van Baal joostvb at moszumanska.debian.org
Mon Dec 21 15:26:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

joostvb pushed a commit to branch master
in repository r-cran-jsonlite.

commit a83f2ec877eda2fd2c4796dde6a0677441a074e6
Author: Joost van Baal-Ilić <joostvb at uvt.nl>
Date:   Mon Dec 21 15:25:35 2015 +0000

    debian/rules: install CITATION in /u/s/d/$(package).
---
 debian/changelog | 2 +-
 debian/rules     | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e2a1157..a098f40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,8 @@ r-cran-jsonlite (0.9.17-2) unstable; urgency=low
   * debian/copyright: completed.
   * debian/rules: do not install extra LICENSE file, do not install upstream
     NEWS file twice
+  * debian/rules: install CITATION in /u/s/d/$(package).
   * FIXME , fix clean target.
-  * FIXME: install inst/CITATION
 
  -- Joost van Baal-Ilić <joostvb+shiny at uvt.nl>  Mon, 21 Dec 2015 14:55:54 +0000
 
diff --git a/debian/rules b/debian/rules
index e7dd3ec..300ef90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
 # Use hardening flags for linking
 include /usr/share/dpkg/buildflags.mk
 makeFlags="LDFLAGS=$(LDFLAGS)"
@@ -7,4 +10,5 @@ makeFlags="LDFLAGS=$(LDFLAGS)"
 include /usr/share/R/debian/r-cran.mk
 
 common-install-arch::
-	rm -vf $(debRlib)/$(cranNameOrig)/LICENSE $(debRlib)/$(cranNameOrig)/NEWS
+	rm -vf $(debRlib)/$(cranNameOrig)/LICENSE $(debRlib)/$(cranNameOrig)/NEWS $(debRlib)/$(cranNameOrig)/CITATION
+	dh_installdocs -p$(package) ./inst/CITATION

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-jsonlite.git



More information about the debian-science-commits mailing list