[med-svn] [pyscanfcs] 01/03: d/rules: move docs to /usr/share/doc/ and use symlinks d/pyscanfcs.docs: install docs

Alex Mestiashvili malex-guest at moszumanska.debian.org
Tue Jun 17 14:05:24 UTC 2014


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

malex-guest pushed a commit to branch master
in repository pyscanfcs.

commit 50ae43e47768b1b43d62eeb65e46f1e61fd55999
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Tue Jun 17 14:17:37 2014 +0200

    d/rules: move docs to /usr/share/doc/ and use symlinks
    d/pyscanfcs.docs: install docs
---
 debian/pyscanfcs.docs | 2 ++
 debian/rules          | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/pyscanfcs.docs b/debian/pyscanfcs.docs
new file mode 100644
index 0000000..98bc314
--- /dev/null
+++ b/debian/pyscanfcs.docs
@@ -0,0 +1,2 @@
+doc/PyScanFCS_doc.pdf
+ChangeLog.txt
diff --git a/debian/rules b/debian/rules
index 67f2106..1619bfd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,11 @@ override_dh_install:
 	mv debian/pyscanfcs.xpm \
 		debian/$(pkg)/usr/share/pixmaps
 	chmod -R 644 debian/$(pkg)/usr/share/doc/$(pkg)/examples/misc
+	rm -f debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs_doc/ChangeLog.txt
+	rm -f debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs_doc/$(PDF)
+	ln -s /usr/share/doc/pyscanfcs/ChangeLog.txt debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs_doc/ChangeLog.txt 
+	ln -s /usr/share/doc/pyscanfcs/$(PDF) debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs_doc/$(PDF) 
 
 override_dh_fixperms:
 	dh_fixperms
 	chmod 644 debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs/SFCSnumeric.pyx
-	chmod 644 debian/$(pkg)/usr/lib/python2.7/dist-packages/pyscanfcs_doc/ChangeLog.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pyscanfcs.git



More information about the debian-med-commit mailing list