From d94cb6be99b098b0084d0a54dc4e655cd9c0e47c Mon Sep 17 00:00:00 2001 From: maierd Date: Mon, 29 May 2023 11:22:15 +0200 Subject: Fix Makefile manpage generation Signed-off-by: Dennis Maier Co-authored-by: Christian Duerr --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 399f2fb5..e8a86e34 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ TARGET = alacritty ASSETS_DIR = extra RELEASE_DIR = target/release -MANPAGE = $(ASSETS_DIR)/alacritty.man -MANPAGE-MSG = $(ASSETS_DIR)/alacritty-msg.man +MANPAGE = $(ASSETS_DIR)/man/alacritty.1.scd +MANPAGE-MSG = $(ASSETS_DIR)/man/alacritty-msg.1.scd CONFIGFILE = alacritty.yml TERMINFO = $(ASSETS_DIR)/alacritty.info COMPLETIONS_DIR = $(ASSETS_DIR)/completions @@ -46,8 +46,8 @@ $(APP_NAME)-%: $(TARGET)-% @mkdir -p $(APP_BINARY_DIR) @mkdir -p $(APP_EXTRAS_DIR) @mkdir -p $(APP_COMPLETIONS_DIR) - @gzip -c $(MANPAGE) > $(APP_EXTRAS_DIR)/alacritty.1.gz - @gzip -c $(MANPAGE-MSG) > $(APP_EXTRAS_DIR)/alacritty-msg.1.gz + @scdoc < $(MANPAGE) | gzip -c > $(APP_EXTRAS_DIR)/alacritty.1.gz + @scdoc < $(MANPAGE-MSG) | gzip -c > $(APP_EXTRAS_DIR)/alacritty-msg.1.gz @tic -xe alacritty,alacritty-direct -o $(APP_EXTRAS_DIR) $(TERMINFO) @cp -fRp $(APP_TEMPLATE) $(APP_DIR) @cp -fp $(APP_BINARY) $(APP_BINARY_DIR) -- cgit v1.2.3-54-g00ecf