From: Armaan Bhojwani Date: Sun, 9 May 2021 03:30:12 +0000 (-0400) Subject: Add manpage X-Git-Url: https://git.armaanb.net/?p=mmenu.git;a=commitdiff_plain;h=b5bea26b1aff069f7578627702be48657af90392 Add manpage --- 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.