From 8008058ecb08f229dbf01946d51c1b9b135536a2 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 6 Sep 2022 21:37:12 +0000 Subject: [PATCH] Niagara Falls is the second-biggest disappointment in a bride's life. -O. Wilde git-svn-id: file:///srv/svn/repo/mima/trunk@11 d2428f92-30f9-164c-8098-19ee57ce342c --- Makefile | 11 ++++++----- man/antifetch.1.mdoc | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 man/antifetch.1.mdoc diff --git a/Makefile b/Makefile index a41b03e..abeaeb1 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ PREFIX=/usr/local -OUTPUT=antifetch build: - go build -v ./cmd/${OUTPUT} + go build -v ./cmd/antifetch + mandoc -T man < ./man/antifetch.1.mdoc > antifetch.1 clean: - rm -f ${OUTPUT} + rm antifetch antifetch.1 install: - install -m0755 ${OUTPUT} ${DESTDIR}${PREFIX}/bin/${OUTPUT} + install -m0755 antifetch ${PREFIX}/bin/antifetch + install -m0644 antifetch.1 ${PREFIX}/share/man/man1/antifetch.1 uninstall: - rm -f ${DESTDIR}${PREFIX}/bin/${OUTPUT} + rm ${PREFIX}/bin/antifetch ${PREFIX}/share/man/man1/antifetch.1 diff --git a/man/antifetch.1.mdoc b/man/antifetch.1.mdoc new file mode 100644 index 0000000..f59b2fb --- /dev/null +++ b/man/antifetch.1.mdoc @@ -0,0 +1,23 @@ +.Dd 2022-09-06 +.Dt ANTIFETCH 1 +.Os +.Sh NAME +.Nm antifetch +.Nd Rewrite of the old nofetch in Go +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +It was more or less inspired by +.Xr pfetch 1 +although it doesn't have fancy +ASCII art at all, and the first +version used to be written in +shell and named +.Xr nofetch 1 +which eventually got taken by +acdw and made into a CHICKEN +Scheme program, which has +nothing to do with this +or the older program. +.Sh AUTHORS +.An Aoi K. Aq Mt admin@kyoko-project.wer.ee