From 49d9cb0523eef077590fa5eb69fc3c54d791836c Mon Sep 17 00:00:00 2001 From: llathasa-veleth Date: Fri, 27 Aug 2021 21:30:54 +0300 Subject: [PATCH] Adapt Makefile to use without pandoc --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index a6ab47c..1b593ef 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,7 @@ else ifeq ($(shell uname), FreeBSD) MANDIR = /usr/share/man/man1 endif -CC = cc -MAN_COMPILER = pandoc +CC = cc build: $(FILES) @@ -51,10 +50,8 @@ termux_uninstall: rm -rf $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/ man: - $(MAN_COMPILER) $(NAME)_man.md -st man -o $(NAME).1 - @gzip $(NAME).1 + gzip --keep $(NAME).1 man_debug: - $(MAN_COMPILER) $(NAME)_man.md -st man -o $(NAME).1 @clear - @man -P cat ./uwufetch.1 + man -P cat ./uwufetch.1