From 299f7bf6052e71ca10638dd10cc4d5a490f8aa1f Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Mon, 12 Aug 2019 20:41:27 +0100 Subject: imv-msg: Write manpage --- Makefile | 6 ++++-- doc/imv-msg.1.txt | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 doc/imv-msg.1.txt 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' + +Authors +------- + +imv-msg is written and maintained by Harry Jeffery + +Full source code and other information can be found at +. + +See Also +-------- + +**imv**(1) -- cgit v1.2.3