aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2019-01-02 00:06:14 +0000
committerBen McGinnes <[email protected]>2019-01-02 00:08:43 +0000
commita2e7c863c821ca035f1e3f8077bdae3b0f81f5eb (patch)
treef952578b881ddcf35da0ef32aae7334495c8aa6e
parentpython: examples (diff)
downloadgpgme-a2e7c863c821ca035f1e3f8077bdae3b0f81f5eb.tar.gz
gpgme-a2e7c863c821ca035f1e3f8077bdae3b0f81f5eb.zip
python: post installer doc fix script
* Got rid of the bash bit in the comments. * Made the final printed instructions far more obvious. Signed-off-by: Ben McGinnes <[email protected]>
-rwxr-xr-xlang/python/post_installer.py29
1 files changed, 9 insertions, 20 deletions
diff --git a/lang/python/post_installer.py b/lang/python/post_installer.py
index f711589d..b9fd36f2 100755
--- a/lang/python/post_installer.py
+++ b/lang/python/post_installer.py
@@ -122,11 +122,6 @@ help:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
""")
-print("""
-You may now generate your preferred documentation format with either Sphinx
-or Texinfo.
-""")
-
info_path = os.path.realpath(sysconfig._PREFIX + "/share/info")
info_paths = os.environ["INFOPATH"].split(":")
@@ -141,18 +136,12 @@ for ipath in info_paths:
else:
pass
-# This will very likely require root or sudo access, so running this script
-# with the same access as used to install the bindings in the first place is
-# highly recommended.
-#
-# bash variant (run in lang/python/doc/texinfo/):
-#
-# for x in *.texi:
-# makeinfo -v --no-split $x
-# done ;
-#
-# Or to generate HTML:
-#
-# for x in *.texi:
-# makeinfo -v --no-split --html $x
-# done ;
+print("""
+You may now build your preferred documentation format using either:
+
+ 1. Sphinx in the doc/rst/ directory; and/or
+ 2. Texinfo or Makeinfo in the doc/texinfo/ directory.
+
+Alternatively the original Org mode source files can be found in the doc/src/
+directory.
+""")