summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 11:53:03 +0200
committerSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 11:53:03 +0200
commit3540f7e62df019e537993ebe104835a834808ed3 (patch)
tree354ee0133d3e2dd4f773826ac2581db3d02a0487 /src/Makefile
parente125c6451a75d8dee5d2a3990535800fbccf976b (diff)
Simplify the Makefile
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index bddffee..0ac22c7 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -11,7 +11,7 @@ LIBDIR = $(prefix)/share/doc/$(name)
# This is where the man page goes.
MANDIR = $(prefix)/share/man/man1
-# This is where the history files go
+# This is where the history file go
HISTORY_FOLDER= .cache
# Change these to your liking or use `make CC=gcc` etc
@@ -34,9 +34,8 @@ CFLAGS += -DDFLT_PAGER=\"less\"
CFLAGS += -DDFLT_EDITOR=\"vim\"
# Comment out to disable color support
CFLAGS += -DUSECOLORS
-# Command history file, relative to home directory. Comment out to disable commandline history
-CFLAGS += -DHISTORY_FILE=\"sc-iminfo\"
-CFLAGS += -DHISTORY_FOLDER=\"$(HISTORY_FOLDER)\"
+# Command history file, relative to HISTORY_FOLDER directory. Comment out to disable commandline history
+CFLAGS += -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_FOLDER=\"$(HISTORY_FOLDER)\"
# Input mode history. Same as previous, but for insert mode commands
CFLAGS += -DINS_HISTORY_FILE=\"sc-iminfo\"
# Comment out to disable undo/redo support