You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/notmuch/files/0.19-0002-Rename-rst2man-to...

39 lines
1.1 KiB

From dcae4803d006af1a7b961a492d65c28a3cffbc3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
Date: Thu, 29 Jan 2015 14:17:01 +0100
Subject: [PATCH 2/2] Rename rst2man to rst2man.py for Gentoo
Gentoo doesn't provide symlink rst2man.py -> rst2man.
---
configure | 2 +-
doc/prerst2man.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index d14e7d1..bf78066 100755
--- a/configure
+++ b/configure
@@ -436,7 +436,7 @@ else
have_sphinx=0
printf "Checking if rst2man is available... "
- if rst2man -V > /dev/null 2>&1; then
+ if rst2man.py -V > /dev/null 2>&1; then
printf "Yes.\n"
have_rst2man=1
else
diff --git a/doc/prerst2man.py b/doc/prerst2man.py
index 437dea9..22b8258 100644
--- a/doc/prerst2man.py
+++ b/doc/prerst2man.py
@@ -59,5 +59,5 @@ for page in man_pages:
outfile.write("".join(lines))
outfile.close()
- system('set -x; rst2man {0} {1}/{2}.{3}'
+ system('set -x; rst2man.py {0} {1}/{2}.{3}'
.format(filename, outdir, page[0], page[4]))
--
2.2.2