From: Jason S. Ninneman Date: Sat, 1 Jul 2017 14:14:27 +0000 (-0700) Subject: Move most build instructions into INSTALL.adoc. X-Git-Tag: takebird~150 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5fcebc66aeca21c67a8187c462d9091a18121363;p=open-adventure.git Move most build instructions into INSTALL.adoc. --- diff --git a/INSTALL.adoc b/INSTALL.adoc new file mode 100644 index 0000000..803a644 --- /dev/null +++ b/INSTALL.adoc @@ -0,0 +1,17 @@ += Installing Open Adventure = + +1. Install PyYAML for Python 3 (which requires Python 3), and libedit +(aka: editline) on your system. + +On Debian and Ubuntu: 'apt-get install python3-yaml libedit-dev'. +On Fedora: 'dnf install python3-PyYAML libedit-devel'. + +If you are using MacPorts on OS X: 'port install py3{5,6}-yaml', as appropriate for your Python 3 version. + +You can also use pip to install PyYAML: 'pip3 install PyYAML'. + +2. 'make'. + +3. Optionally run a regression test on the code with 'make check'. + +4. Run the resulting 'advent' binary to play. diff --git a/Makefile b/Makefile index 9d94c11..8be6564 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,5 @@ # Makefile for the open-source release of adventure 2.5 -# The libedit (aka: editline) library is required to build. On -# Debian or Ubuntu: -# -# apt-get install libedit-dev - -# You will also need Python 3 YAML. Under Debian or ubuntu: -# -# apt-get install python3-yaml -# -# If you have pip installed, -# -# pip3 install PyYAML -# -# If you are using MacPorts on OS X: -# port install py3{5,6}-yaml as appropriate for your Python 3 version. -# # To build with save/resume disabled, pass CCFLAGS="-D ADVENT_NOSAVE" VERS=$(shell sed -n