aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--doc/imv-msg.1.txt35
2 files changed, 39 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b16be3..31effa5 100644
--- a/Makefile
+++ b/Makefile
@@ -134,9 +134,9 @@ check: $(BUILDDIR) $(TESTS)
clean:
$(RM) -Rf $(BUILDDIR)
- $(RM) doc/imv.1 doc/imv.5
+ $(RM) doc/imv.1 doc/imv-msg.1 doc/imv.5
-doc: doc/imv.1 doc/imv.5
+doc: doc/imv.1 doc/imv-msg.1 doc/imv.5
doc/%: doc/%.txt
a2x --no-xmllint --doctype manpage --format manpage $<
@@ -155,6 +155,7 @@ endif
$(INSTALL_PROGRAM) $(TARGET_MSG) $(DESTDIR)$(BINPREFIX)/imv-msg
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
$(INSTALL_MAN) doc/imv.1 $(DESTDIR)$(MANPREFIX)/man1/imv.1
+ $(INSTALL_MAN) doc/imv-msg.1 $(DESTDIR)$(MANPREFIX)/man1/imv-msg.1
mkdir -p $(DESTDIR)$(MANPREFIX)/man5
$(INSTALL_MAN) doc/imv.5 $(DESTDIR)$(MANPREFIX)/man5/imv.5
mkdir -p $(DESTDIR)$(DATAPREFIX)/applications
@@ -170,6 +171,7 @@ endif
$(RM) $(DESTDIR)$(BINPREFIX)/imv
$(RM) $(DESTDIR)$(BINPREFIX)/imv-msg
$(RM) $(DESTDIR)$(MANPREFIX)/man1/imv.1
+ $(RM) $(DESTDIR)$(MANPREFIX)/man1/imv-msg.1
$(RM) $(DESTDIR)$(MANPREFIX)/man5/imv.5
$(RM) $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop
@echo "$(DESTDIR)$(CONFIGPREFIX)/imv_config has not been removed. Please remove it manually."
diff --git a/doc/imv-msg.1.txt b/doc/imv-msg.1.txt
new file mode 100644
index 0000000..fcda508
--- /dev/null
+++ b/doc/imv-msg.1.txt
@@ -0,0 +1,35 @@
+/////
+vim:set ts=4 sw=4 tw=82 noet:
+/////
+:quotes.~:
+
+imv-msg (1)
+===========
+
+Name
+----
+imv-msg - Utility for sending commands to a running imv instance
+
+Description
+-----------
+
+imv-msg is a tool to simplify the sending of commands to a running instance
+of imv. Given an instance's pid it opens the corresponding unix socket and
+sends the provided command.
+
+Synopsis
+--------
+'imv-msg' <pid> <command>
+
+Authors
+-------
+
+imv-msg is written and maintained by Harry Jeffery <me@harry.pm>
+
+Full source code and other information can be found at
+<https://github.com/eXeC64/imv>.
+
+See Also
+--------
+
+**imv**(1)