Blame INSTALL

Packit Bot a3ac83
Requirements
Packit Bot a3ac83
------------
Packit Bot a3ac83
You will need a C compiler and a C library compatible with GNU libc.
Packit Bot a3ac83
I use gcc 5.3.0 and 4.1.2, but the code should compile with any
Packit Bot a3ac83
standards compliant compiler.
Packit Bot a3ac83
Gcc is available at http://gcc.gnu.org.
Packit Bot a3ac83
Packit Bot a3ac83
Packit Bot a3ac83
Procedure
Packit Bot a3ac83
---------
Packit Bot a3ac83
1. Unpack the archive if you have not done so already:
Packit Bot a3ac83
Packit Bot a3ac83
	tar -xf ed[version].tar.lz
Packit Bot a3ac83
or
Packit Bot a3ac83
	lzip -cd ed[version].tar.lz | tar -xf -
Packit Bot a3ac83
Packit Bot a3ac83
This creates the directory ./ed[version] containing the source from
Packit Bot a3ac83
the main archive.
Packit Bot a3ac83
Packit Bot a3ac83
2. Change to ed directory and run configure.
Packit Bot a3ac83
   (Try 'configure --help' for usage instructions).
Packit Bot a3ac83
Packit Bot a3ac83
	cd ed[version]
Packit Bot a3ac83
	./configure
Packit Bot a3ac83
Packit Bot a3ac83
3. Run make.
Packit Bot a3ac83
Packit Bot a3ac83
	make
Packit Bot a3ac83
Packit Bot a3ac83
4. Optionally, type 'make check' to run the tests that come with ed.
Packit Bot a3ac83
Packit Bot a3ac83
5. Type 'make install' to install the program and any data files and
Packit Bot a3ac83
   documentation.
Packit Bot a3ac83
Packit Bot a3ac83
   Or type 'make install-compress', which additionally compresses the
Packit Bot a3ac83
   info manual and the man page after installation. (Installing
Packit Bot a3ac83
   compressed docs may become the default in the future).
Packit Bot a3ac83
Packit Bot a3ac83
   You can install only the program, the info manual or the man page by
Packit Bot a3ac83
   typing 'make install-bin', 'make install-info' or 'make install-man'
Packit Bot a3ac83
   respectively.
Packit Bot a3ac83
Packit Bot a3ac83
Packit Bot a3ac83
Another way
Packit Bot a3ac83
-----------
Packit Bot a3ac83
You can also compile ed into a separate directory.
Packit Bot a3ac83
To do this, you must use a version of 'make' that supports the 'VPATH'
Packit Bot a3ac83
variable, such as GNU 'make'. 'cd' to the directory where you want the
Packit Bot a3ac83
object files and executables to go and run the 'configure' script.
Packit Bot a3ac83
'configure' automatically checks for the source code in '.', in '..' and
Packit Bot a3ac83
in the directory that 'configure' is in.
Packit Bot a3ac83
Packit Bot a3ac83
'configure' recognizes the option '--srcdir=DIR' to control where to
Packit Bot a3ac83
look for the sources. Usually 'configure' can determine that directory
Packit Bot a3ac83
automatically.
Packit Bot a3ac83
Packit Bot a3ac83
After running 'configure', you can run 'make' and 'make install' as
Packit Bot a3ac83
explained above.
Packit Bot a3ac83
Packit Bot a3ac83
Packit Bot a3ac83
Copyright (C) 2006-2017 Antonio Diaz Diaz.
Packit Bot a3ac83
Packit Bot a3ac83
This file is free documentation: you have unlimited permission to copy,
Packit Bot a3ac83
distribute and modify it.