From 47b1a73b9c5fc98dcc3a9aa11283db02f6f570ab Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Tue, 11 Sep 2012 09:57:42 +0200 Subject: Added manual page (from marco, resolves #975) --- command/Makefile | 8 +++- command/markad.1 | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 command/markad.1 (limited to 'command') diff --git a/command/Makefile b/command/Makefile index 997c20a..648e1f9 100644 --- a/command/Makefile +++ b/command/Makefile @@ -85,7 +85,13 @@ i18n: $(I18Npot) markad: $(OBJS) $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@ -install: markad $(I18Nmsgs) + +MANDIR = $(DESTDIR)/usr/share/man +install-doc: + @mkdir -p $(MANDIR)/man1 + @gzip -c markad.1 > $(MANDIR)/man1/markad.1.gz + +install: install-doc markad $(I18Nmsgs) @mkdir -p $(DESTDIR)/usr/bin @cp --remove-destination markad $(DESTDIR)/usr/bin/markad @$(STRIP) $(DESTDIR)/usr/bin/markad diff --git a/command/markad.1 b/command/markad.1 new file mode 100644 index 0000000..1c4fbd8 --- /dev/null +++ b/command/markad.1 @@ -0,0 +1,131 @@ +.\" ** The above line should force tbl to be a preprocessor ** +.\" Man page for markad +.\" +.\" Copyright (C) 2012 Jochen Dolze +.\" +.\" You may distribute under the terms of the GNU General Public +.\" License as specified in the file COPYING that comes with the +.\" vdr distribution. +.\" +.\" $Id: markad.1 1.0 2012/05/25 22:33:34 martinkg Exp $ +.\" +.TH "markad" "1" "25 May 2012" "0.1.4" "A program for the Video Disk Recorder" +.SH "NAME" +MarkAd \- marks advertisements in VDR recordings. +.SH "SYNOPSIS" +.B markad +[options] +.SH "DESCRIPTION" +.B MarkAd +marks advertisements in VDR recordings. +.SH "OPTIONS" +.TP +Usage: markad [options] cmd +.TP +.BI \-b\ ,\ \-\-background +\fImarkad\fR runs as a background\-process +this will be automatically set if called with "after" +.TP +.BI \-d\ ,\ \-\-disable=