imv-msg: Write manpage

This commit is contained in:
Harry Jeffery 2019-08-12 20:41:27 +01:00
parent fcb2dbd80c
commit 299f7bf605
2 changed files with 39 additions and 2 deletions

View file

@ -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."

35
doc/imv-msg.1.txt Normal file
View file

@ -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)