From 3f7369a90c4388e2ed75e62baa28206f25f09db3 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 9 Dec 2018 12:45:34 +0000 Subject: [PATCH] Makefile: Build `~/.less' properly from our `dot/lesskey' file. The documentation is clear about having to do this annoying thing, so I'm not sure why I didn't do it. Delete the old `~/.lesskey' file if we find it, because it doesn't do any good there. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 79be3ea..07a27fe 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ SCRIPTLINKS += guest-console SCRIPTLINKS += hyperspec ## Random odds and ends. -DOTLINKS += .lesskey .infokey .sqliterc +DOTLINKS += .infokey .sqliterc DOTLINKS += .gdbinit .toprc .aspell.conf DOTLINKS += .dircolors .colordiffrc .screenrc .tmux.conf DOTLINKS += .cvsrc .indent.pro .ditz-config @@ -249,6 +249,11 @@ DOTLINKS += .mc/ini .mc/panels.ini DOTLINKS += .parallel/config .parallel/config_SRC = parallel-config +all:: $(HOME)/.less +$(HOME)/.less: dot/lesskey + $(V_AT)rm -f $(HOME)/.lesskey + $(call v_tag,LESSKEY)lesskey -o$@ $< + ###-------------------------------------------------------------------------- ### X11 configuration. -- 2.11.0