[pybtex] 17/20: Provide the alternative entry-point via symlinks
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Jul 22 21:04:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pybtex.
commit 5e8b75058812e95259db85f74b6e0b49eb306fd5
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Jul 21 21:01:06 2017 +0100
Provide the alternative entry-point via symlinks
---
debian/pybtex.links | 2 ++
debian/rules | 6 ------
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/debian/pybtex.links b/debian/pybtex.links
new file mode 100644
index 0000000..93b12d0
--- /dev/null
+++ b/debian/pybtex.links
@@ -0,0 +1,2 @@
+usr/bin/pybtex usr/bin/bibtex.pybtex
+usr/share/man/man1/pybtex.1 usr/share/man/man1/bibtex.pybtex.1
diff --git a/debian/rules b/debian/rules
index 7b82e93..04bcf32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,14 +31,8 @@ endif
override_dh_auto_install:
dh_auto_install
dh_movefiles --package=pybtex --sourcedir=debian/python-pybtex usr/bin
- mv debian/pybtex/usr/bin/pybtex debian/pybtex/usr/bin/bibtex.pybtex
rm -rf debian/pybtex/usr/lib/python*/*-packages/pybtex/tests/
-.PHONY: override_dh_installman
-override_dh_installman:
- dh_installman
- cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9]
-
.PHONY: override_dh_compress
override_dh_compress:
dh_compress -X.bib -X.bibtexml -X.yaml -X.aux -X.bib # save examples
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list