changeset 10:fe1a21ab4f69

add a man page
author Guido Berhoerster <guido@berhoerster.name>
date Tue, 11 Oct 2011 17:07:49 +0200
parents 0e50d3652326
children 2da5037fdfad
files Makefile pk-update-icon.1
diffstat 2 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Oct 11 17:07:49 2011 +0200
+++ b/Makefile	Tue Oct 11 17:07:49 2011 +0200
@@ -10,6 +10,7 @@
 prefix ?=	/usr/local
 bindir ?=	$(prefix)/bin
 datadir ?=	$(prefix)/share
+mandir ?=	$(datadir)/man
 localedir ?=	$(datadir)/locale
 sysconfdir ?=	/etc
 xdgautostartdir ?=	$(sysconfdir)/xdg/autostart
@@ -69,6 +70,8 @@
 		$(INSTALL.data) po/$${lang}.mo \
 			$(DESTDIR)$(LOCALEDIR)/$${lang}/$(PACKAGE).mo; \
 	done
+	$(INSTALL.data) $(PACKAGE).1 \
+			$(DESTDIR)$(mandir)/man1/$(PACKAGE).1
 
 clean:
 	rm -f $(PACKAGE) $(OBJS) $(POTFILE) $(MOFILES) $(AUTOSTART_FILE)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pk-update-icon.1	Tue Oct 11 17:07:49 2011 +0200
@@ -0,0 +1,26 @@
+.\" Copyright (C) 2011 Guido Berhoerster <gber@opensuse.org>
+.\"
+.\" Licensed under the GNU General Public License Version 2
+.\"
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or
+.\" (at your option) any later version.
+.\"
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; if not, write to the Free Software
+.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+.\"
+.TH PK\-UPDATE\-ICON 1 "9 Oct 2011"
+.SH NAME
+pk\-update\-icon \- display notifications about package updates
+.SH SYNOPSIS
+.B pk\-update\-icon
+.SH DESCRIPTION
+\fBpk\-update\-icon\fR displays notifications and an icon in the tray area of
+the panel when package updates are available.