From 47659f11b50cce9eea576f791273e814fdf6fc8d Mon Sep 17 00:00:00 2001 From: louie Date: Mon, 14 Sep 2020 16:14:48 -0700 Subject: Rewrote Makefile, added install and uninstall options --- docs/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'docs/README.md') diff --git a/docs/README.md b/docs/README.md index 86ce1fa..c284593 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ ## Compiling and Running -tml can be compiled on any system with gcc and the ncurses library installed. It has been tested to work on Ubuntu, and can also be compiled and run on Windows 10. To compile and run tml: +tml can be compiled on any system with gcc and the ncurses library installed. It has been tested to work on Ubuntu, and can also be compiled and run on Windows 10, but is designed with Linux in mind. To compile and run tml: 1. Clone the repository 2. Run `make` in the directory the repository was cloned into. This will create a file called `tml` @@ -12,6 +12,21 @@ tml can be compiled on any system with gcc and the ncurses library installed. It Note that tml will not run until you have created a configuration file. +### Installation + +tml can be installed by running: + +``` +sudo make install +``` + +This will install `tml` to `/usr/local/bin/tml` as well as man pages `tml` and `tml-config`. +To uninstall these files: + +``` +sudo make uninstall +``` + ## Configuration File By default, tml searches in the following order for a configuration file: @@ -27,3 +42,4 @@ tml -c /path/to/config ``` For Documentation of the configuration file, see [tml-config](tml-config.md) +If you installed tml, you can also consult **tml**(1) and **tml-config**(5). -- cgit