Changeset 1cef55f
- Timestamp:
- 2015-06-04T17:13:22Z (10 years ago)
- 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)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rfd45e859 r1cef55f 685 685 fi 686 686 687 if [ -z "$PYTHON" ]; then 688 PYTHON=python 689 fi 690 687 691 if [ "$doc" = "1" ]; then 688 692 # check this here just in case someone tries to install it in python2.4... 689 if ! python-m xml.etree.ElementTree > /dev/null 2>&1; then693 if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then 690 694 echo 691 695 echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs' 696 echo "(Use the PYTHON environment variable if it's in a weird location)" 692 697 exit 1 693 698 fi 694 699 echo "DOC=1" >> Makefile.settings 700 echo "PYTHON=$PYTHON" >> Makefile.settings 695 701 fi 696 702 -
doc/user-guide/Makefile
rfd45e859 r1cef55f 3 3 _SRCDIR_ := $(_SRCDIR_)doc/user-guide/ 4 4 endif 5 6 ifndef PYTHON 7 PYTHON = python 8 endif 5 9 6 10 all: help.txt … … 32 36 33 37 help.txt: $(_SRCDIR_)help.xml $(_SRCDIR_)commands.xml $(_SRCDIR_)misc.xml $(_SRCDIR_)quickstart.xml 34 python$(_SRCDIR_)genhelp.py $< $@38 $(PYTHON) $(_SRCDIR_)genhelp.py $< $@ 35 39 36 40 clean: -
doc/user-guide/genhelp.py
rfd45e859 r1cef55f 3 3 # Usage: python genhelp.py input.xml output.txt 4 4 # (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 5 8 6 9 # This program is free software; you can redistribute it and/or
Note: See TracChangeset
for help on using the changeset viewer.