From 4c3fe64acd1727cd9bdddecfcc91aa66607f7292 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 5 Sep 2018 21:20:02 -0400 Subject: [PATCH] add makefile and manpage --- Makefile | 22 ++++++++++++++++++++++ tilde.1 | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 Makefile create mode 100644 tilde.1 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..85342dd --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +PREFIX ?= /usr/local +BINDIR ?= $(PREFIX)/bin +MANDIR ?= $(PREFIX)/share/man + +install: + @echo Installing the executable to $(BINDIR) + @mkdir -p $(BINDIR) + @cp -f tilde $(BINDIR)/tilde + @chmod 755 $(BINDIR)/tilde + @echo Installing the manual page to $(MANDIR)/man1 + @mkdir -p $(MANDIR)/man1 + @cp -f tilde.1 $(MANDIR)/man1/tilde.1 + @chmod 644 $(MANDIR)/man1/tilde.1 + +uninstall: + @echo Removing the executable from $(BINDIR) + @rm -f $(BINDIR)/tilde + @echo Removing the manual page from $(MANDIR)/man1 + @rm -f $(BINDIR)/man1/tilde.1 + +.PHONY: install uninstall + diff --git a/tilde.1 b/tilde.1 new file mode 100644 index 0000000..59c29bf --- /dev/null +++ b/tilde.1 @@ -0,0 +1,33 @@ +.TH tilde 1 "5 September 2018" "v0.0.2" +.SH NAME +tilde \- user script wrapper and submission tool +.SH SYNOPSIS +.B tilde [options] (scriptname) +.P +.SH DESRIPTION +.B tilde +is a wrapper around user-submitted scripts. +any accepted script in /tilde/bin can be run with +the wrapper feature. + +users can submit any script in their ~/bin directory +which will be mailed to admins for review. +.SH USAGE +.TP +.B tilde list +List all available scripts in /tilde/bin +.TP +.B tilde [scriptname] +Run scriptname. +.TP +.B tilde submit +Submit a script from your ~/bin directory +.TP +.B tilde about [scriptname] +Get the submitter's description for a script. +.SH DEPENDENCIES +None. +.SH BUGS +None known. Please submit to https://tildegit.org/team/tilde-launcher/issues +.SH AUTHOR +Ben Harris