generate README from tardis.1 - bitreich-tardis - Front-end for navigating bitreich memes and TV dimensions HTML git clone git://bitreich.org/bitreich-tardis git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tardis DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 51c0adcc43caa6c7ec3ce238b73338a1bea23531 DIR parent 23221aa39adc47481e9aa016f76632bed71590e0 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 21 Feb 2021 22:39:46 +0100 generate README from tardis.1 Diffstat: M Makefile | 6 +++++- A README | 39 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) --- DIR diff --git a/Makefile b/Makefile @@ -12,9 +12,10 @@ SCRIPTS = tardis MAN1 = ${SCRIPTS:=.1} DOC = \ + README\ LICENSE -install: +install: README # installing executable files and scripts. mkdir -p "${DESTDIR}${PREFIX}/bin" cp -f ${SCRIPTS} "${DESTDIR}${PREFIX}/bin" @@ -28,6 +29,9 @@ install: cp -f ${MAN1} "${DESTDIR}${MANPREFIX}/man1" for m in ${MAN1}; do chmod 644 "${DESTDIR}${MANPREFIX}/man1/$$m"; done +README: ${MAN1} + mandoc -T ascii ${MAN1} | col -bx > $@ + uninstall: # removing executable files and scripts. for f in ${SCRIPTS}; do rm -f "${DESTDIR}${PREFIX}/bin/$$f"; done DIR diff --git a/README b/README @@ -0,0 +1,39 @@ +TARDIS(1) General Commands Manual TARDIS(1) + +NAME + tardis - select bitreich tv dimensions and memecache memes + +SYNOPSIS + tardis [-cuU] + +DESCRIPTION + tardis allows interactive selection and search in Bitreich memes and TV + dimensions. By default, it is suited for launch in X11 sessions, but can + be made terminal-only by setting TARDIS_MENU to a non-X11 program, e.g. + iomenu(1). + +ENVIRONMENT + TARDIS_MENU + Menu command, defaults to "dmenu -l 10 -p ${0##*/}:". + + TARDIS_PLUMB + Plumb command, defaults to "xdg-open". + + TARDIS_VIDEO + Video command, defaults to "mpv". + +OPTIONS + -c Copy meme hashtag to the primary X selection, and the meme url to + the X clipboard. + + -u Update local cache and exit. + + -U Update local cache before showing interactive menu. + +SEE ALSO + dmenu(1), iomenu(1), xclip(1) + +AUTHORS + Anders Damsgaard <anders@adamsgaard.dk> + +OpenBSD 6.9 February 21, 2021 OpenBSD 6.9