projects/pk-update-icon

changeset 10:fe1a21ab4f69

add a man page
author Guido Berhoerster <guido@berhoerster.name>
date Tue Oct 11 17:07:49 2011 +0200 (2011-10-11)
parents 0e50d3652326
children 2da5037fdfad
files Makefile pk-update-icon.1
line diff
     1.1 --- a/Makefile	Tue Oct 11 17:07:49 2011 +0200
     1.2 +++ b/Makefile	Tue Oct 11 17:07:49 2011 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  prefix ?=	/usr/local
     1.5  bindir ?=	$(prefix)/bin
     1.6  datadir ?=	$(prefix)/share
     1.7 +mandir ?=	$(datadir)/man
     1.8  localedir ?=	$(datadir)/locale
     1.9  sysconfdir ?=	/etc
    1.10  xdgautostartdir ?=	$(sysconfdir)/xdg/autostart
    1.11 @@ -69,6 +70,8 @@
    1.12  		$(INSTALL.data) po/$${lang}.mo \
    1.13  			$(DESTDIR)$(LOCALEDIR)/$${lang}/$(PACKAGE).mo; \
    1.14  	done
    1.15 +	$(INSTALL.data) $(PACKAGE).1 \
    1.16 +			$(DESTDIR)$(mandir)/man1/$(PACKAGE).1
    1.17  
    1.18  clean:
    1.19  	rm -f $(PACKAGE) $(OBJS) $(POTFILE) $(MOFILES) $(AUTOSTART_FILE)
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pk-update-icon.1	Tue Oct 11 17:07:49 2011 +0200
     2.3 @@ -0,0 +1,26 @@
     2.4 +.\" Copyright (C) 2011 Guido Berhoerster <gber@opensuse.org>
     2.5 +.\"
     2.6 +.\" Licensed under the GNU General Public License Version 2
     2.7 +.\"
     2.8 +.\" This program is free software; you can redistribute it and/or modify
     2.9 +.\" it under the terms of the GNU General Public License as published by
    2.10 +.\" the Free Software Foundation; either version 2 of the License, or
    2.11 +.\" (at your option) any later version.
    2.12 +.\"
    2.13 +.\" This program is distributed in the hope that it will be useful,
    2.14 +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.15 +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2.16 +.\" GNU General Public License for more details.
    2.17 +.\"
    2.18 +.\" You should have received a copy of the GNU General Public License
    2.19 +.\" along with this program; if not, write to the Free Software
    2.20 +.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    2.21 +.\"
    2.22 +.TH PK\-UPDATE\-ICON 1 "9 Oct 2011"
    2.23 +.SH NAME
    2.24 +pk\-update\-icon \- display notifications about package updates
    2.25 +.SH SYNOPSIS
    2.26 +.B pk\-update\-icon
    2.27 +.SH DESCRIPTION
    2.28 +\fBpk\-update\-icon\fR displays notifications and an icon in the tray area of
    2.29 +the panel when package updates are available.