Adapt Makefile to use without pandoc

This commit is contained in:
llathasa-veleth 2021-08-27 21:30:54 +03:00
parent 2485577d77
commit 49d9cb0523

View file

@ -19,7 +19,6 @@ else ifeq ($(shell uname), FreeBSD)
endif
CC = cc
MAN_COMPILER = pandoc
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