diff options
author | Andrés M <andmarti1424@users.noreply.github.com> | 2020-04-10 14:11:38 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 14:11:38 -0300 |
commit | a5772064d26d8338c7af63025e3f6b7e0fe66c68 (patch) | |
tree | 7c22ae9b6be51178c9047b01a3c5a0373595d934 /src/Makefile | |
parent | 8050b0099312e8f77f69b2d6af759e4936bd66b5 (diff) | |
parent | 4ad884987ed5ee97f90860b188a056bff45f3001 (diff) |
Merge pull request #337 from Sosthene-Guedon/feature-336
Implement #336
Diffstat (limited to 'src/Makefile')
-rwxr-xr-x | src/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 9448b0a..e79b0d2 100755 --- a/src/Makefile +++ b/src/Makefile @@ -11,6 +11,11 @@ LIBDIR = $(prefix)/share/doc/$(name) # This is where the man page goes. MANDIR = $(prefix)/share/man/man1 +# This is where the history file go +HISTORY_DIR= .cache +# This is where the config file go +CONFIG_DIR= .config + # Change these to your liking or use `make CC=gcc` etc #CC = cc #YACC = bison -y @@ -31,10 +36,12 @@ 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=\".$(name)info\" +# Command history file, relative to HISTORY_DIR directory. Comment out to disable commandline history +CFLAGS += -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\"$(HISTORY_DIR)\" +# Configuration file, relative to CONFIG_DIR directory +CFLAGS += -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\"$(CONFIG_DIR)\" # Input mode history. Same as previous, but for insert mode commands -CFLAGS += -DINS_HISTORY_FILE=\".$(name)info\" +CFLAGS += -DINS_HISTORY_FILE=\"sc-iminfo\" # Comment out to disable undo/redo support CFLAGS += -DUNDO # Maximum number of rows in spreadsheet. Up to 1048576 |