diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 22:24:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 22:24:58 +0200 |
commit | eafefb0c7965a048f53ffa3f86ea1db2cf065c47 (patch) | |
tree | e72141d7eb72ce3ee72e8b5e2f86cc1bf46db389 | |
parent | daac5c780296fbbf1005fedb45ae790d567b2dcd (diff) |
Add manpage
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/randsleep.1 | 44 |
2 files changed, 46 insertions, 0 deletions
@@ -4,6 +4,8 @@ src/randsleep: src/randsleep.c ${CC} ${CFLAGS} ${LDFLAGS} -o $@ $< install: src/randsleep + install -m 755 src/randsleep ${bin_dir} + install -m 644 src/randsleep.1 ${man_dir}/man1 uninstall: rm -f src/randsleep diff --git a/src/randsleep.1 b/src/randsleep.1 new file mode 100644 index 0000000..0868c60 --- /dev/null +++ b/src/randsleep.1 @@ -0,0 +1,44 @@ +.Dd July 06, 2011 +.Dt RANDSLEEP 1 +.Os +. +. +.Sh NAME +. +.Nm randsleep +.Nd Execute program after sleeping for a random time +. +. +.Sh SYNOPSIS +. +.Nm +.Ar time command args ... +. +. +.Sh VERSION +. +This manual documents +.Nm +version 0.0 +. +. +.Sh DESCRIPTION +. +.Nm +executes +.Ar command +after sleeping for up to +.Ar time +seconds. +It is intended for use in cronjobs and similar. +. +. +.Sh AUTHOR +. +Copyright (C) 2011 Daniel Friesel +.Aq derf@finalrewind.org . +. +. +.Sh LICENSE +. +You just DO WHAT THE FUCK YOU WANT TO. |