Skip to content

Commit

Permalink
Fix for Issue #10 - Makefile now auto-detects OS
Browse files Browse the repository at this point in the history
  • Loading branch information
larrykollar committed Oct 21, 2017
1 parent f621ec0 commit 5d6ceaa
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 6 deletions.
27 changes: 27 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Installing Tines

Installing Tines is fairly straightforward.

First, check the Makefile to verify the
destination directories are what you want.

Once you've done that, type `make` and then
`sudo make install` at the shell prompt. It
should be smooth sailing.

## Install Problems

Type 'uname' at the shell
prompt and then 'man install' to make sure the
Makefile is setting the right flags. Send a patch
as an issue or pull request.

## Runtime Problems

Users have reported issues on Arch Linux and
derivatives (see Issue #5 and Issue #6). They
likely stem from a curses mismatch.

If you run across something that doesn't look
right, check the issues. Feel free to add a new
issue if needed (or better yet, send a patch).
15 changes: 10 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@

# Arguments to install
# Use this one for Linux
INSTFLAGS=-D
# Use this one for MacOSX, BSD, and Cygwin
# INSTFLAGS=-d
# get target OS (Linux, Darwin, BSD, or Cygwin)
# Right now, this affects only install
target_os != uname

# Set install flags based on OS
ifeq "$(target_os)" "Linux"
INSTFLAGS=-D -d
else
INSTFLAGS=-d
endif

# Install directories
BINDIR=/usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.11.1a

0 comments on commit 5d6ceaa

Please sign in to comment.