From b5bea26b1aff069f7578627702be48657af90392 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 8 May 2021 23:30:12 -0400 Subject: [PATCH] Add manpage --- .gitignore | 1 + Makefile | 4 ++++ README | 2 +- mmenu.1.scd | 14 ++++++++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 mmenu.1.scd diff --git a/.gitignore b/.gitignore index 7e022e9..c34b060 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ mmenu +mmenu.1 diff --git a/Makefile b/Makefile index a3f6c01..b82d881 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,13 @@ all: ${CC} mmenu.c -o mmenu -lXm -lXt -lcurl ${LDFLAGS} -std=c99 ${CFLAGS} -Wall \ -Wextra + scdoc < mmenu.1.scd > mmenu.1 install: + mkdir -p /usr/local/bin /usr/local/man cp mmenu /usr/local/bin/mmenu + cp mmenu.1 /usr/local/man/man1/mmenu.1 uninstall: rm /usr/local/bin/mmenu + rm /usr/local/man/man1/mmenu.1 diff --git a/README b/README index 0b8fd68..34871a7 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ mmenu View the castle menu. Nobilis doesn't always work, thus, this program doesn't always work. Best of -luck to those who try and use this program. +luck to those who try to use this program. Dependencies: - C99 diff --git a/mmenu.1.scd b/mmenu.1.scd new file mode 100644 index 0000000..3cdd725 --- /dev/null +++ b/mmenu.1.scd @@ -0,0 +1,14 @@ +mmenu(1) + +# NAME +mmenu - view the castle menu + +# SYNOPSIS +*mmenu* + +# DESCRIPTION +The *mmenu* utility uses Nobilis in order to display the castle menu. There is +no real command line interface, and the GUI is programmed in Motif. + +# LICENSE +MIT License, Armaan Bhojwani 2021. -- 2.39.2