diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | bin/dfv.mi5 | 8 | ||||
-rw-r--r-- | man/man1/dfv.1df | 12 |
4 files changed, 27 insertions, 0 deletions
@@ -21,6 +21,9 @@ bin/csmw bin/d2u bin/dam bin/ddup +bin/dfv +bin/dfv.sh +bin/dfv.m4 bin/dmp bin/dub bin/edda @@ -98,6 +98,7 @@ BINS = bin/ap \ bin/dam \ bin/d2u \ bin/ddup \ + bin/dfv \ bin/dmp \ bin/dub \ bin/edda \ @@ -207,6 +208,7 @@ BINS = bin/ap \ bin/xrq BINS_M4 = bin/chn.m4 \ + bin/dfv.m4 \ bin/edda.m4 \ bin/oii.m4 \ bin/pst.m4 \ @@ -216,6 +218,7 @@ BINS_M4 = bin/chn.m4 \ bin/urlc.m4 BINS_SH = bin/chn.sh \ + bin/dfv.sh \ bin/edda.sh \ bin/oii.sh \ bin/pst.sh \ @@ -283,6 +286,7 @@ clean distclean: m4 < $< > $@ bin/chn.sh: bin/chn.m4 include/mktd.m4 +bin/dfv.sh: bin/dfv.m4 include/mktd.m4 bin/edda.sh: bin/edda.m4 include/mktd.m4 bin/oii.sh: bin/oii.m4 include/mktd.m4 bin/pst.sh: bin/pst.m4 include/mktd.m4 diff --git a/bin/dfv.mi5 b/bin/dfv.mi5 new file mode 100644 index 00000000..02f1721d --- /dev/null +++ b/bin/dfv.mi5 @@ -0,0 +1,8 @@ +# Print dotfiles version information +cat <<'EOF' +<% + include(VERSION) + syscmd(`printf "Built on %s by %s@%s\n" "$(date)" "$(id -nu)" "$(uname -n)"') +%> +The next 1<<10 years are ours! +EOF diff --git a/man/man1/dfv.1df b/man/man1/dfv.1df new file mode 100644 index 00000000..b3274d44 --- /dev/null +++ b/man/man1/dfv.1df @@ -0,0 +1,12 @@ +.TH DFV 1df "November 2017" "Manual page for dfv" +.SH NAME +.B dfv +\- print dotfiles distribution version information +.SH SYNOPSIS +.B dfv +.SH DESCRIPTION +.B dfv +prints some version information about the dotfiles distribution installed, +including some details about the date the tool itself was built. +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |