Changeset 1cef55f for doc


Ignore:
Timestamp:
2015-06-04T17:13:22Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
3a27896
Parents:
fd45e859
git-author:
dequis <dx@…> (01-06-15 01:00:28)
git-committer:
dequis <dx@…> (04-06-15 17:13:22)
Message:

configure: allow specifying location of python executable

Because openbsd/netbsd don't have a 'python' in the PATH unless the user
creates the symlink explicitly.

Location:
doc/user-guide
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/Makefile

    rfd45e859 r1cef55f  
    33_SRCDIR_ := $(_SRCDIR_)doc/user-guide/
    44endif
     5
     6ifndef PYTHON
     7PYTHON = python
     8endif
    59
    610all: help.txt
     
    3236
    3337help.txt: $(_SRCDIR_)help.xml $(_SRCDIR_)commands.xml $(_SRCDIR_)misc.xml $(_SRCDIR_)quickstart.xml
    34         python $(_SRCDIR_)genhelp.py $< $@
     38        $(PYTHON) $(_SRCDIR_)genhelp.py $< $@
    3539
    3640clean:
  • doc/user-guide/genhelp.py

    rfd45e859 r1cef55f  
    33# Usage: python genhelp.py input.xml output.txt
    44# (Both python2 (>=2.5) or python3 work)
     5#
     6# The shebang above isn't used, set the PYTHON environment variable
     7# before running ./configure instead
    58
    69# This program is free software; you can redistribute it and/or
Note: See TracChangeset for help on using the changeset viewer.