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
This commit is contained in:
admin 2022-09-06 21:37:12 +00:00
parent a474b52584
commit 8008058ecb
2 changed files with 29 additions and 5 deletions

View File

@ -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

23
man/antifetch.1.mdoc Normal file
View File

@ -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