Austin English : notepad: Add a manpage.
Alexandre Julliard
julliard at winehq.org
Thu Dec 2 16:30:54 CST 2010
Module: wine
Branch: stable
Commit: 49547729839f683d6c8106a28aef28ba560673d5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49547729839f683d6c8106a28aef28ba560673d5
Author: Austin English <austinenglish at gmail.com>
Date: Sat Nov 20 11:22:58 2010 +0100
notepad: Add a manpage.
(cherry picked from commit ac0f13100e95e3dea4edfb9b8257ddd9e8ec6d15)
---
.gitignore | 1 +
programs/notepad/Makefile.in | 12 ++++++++++++
programs/notepad/notepad.man.in | 11 +++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 120b5f9..916346e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -246,6 +246,7 @@ loader/wine.man
loader/wine64
programs/Makeprog.rules
programs/msiexec/msiexec.man
+programs/notepad/notepad.man
programs/rpcss/epm.h
programs/rpcss/epm_s.c
programs/rpcss/irot.h
diff --git a/programs/notepad/Makefile.in b/programs/notepad/Makefile.in
index 472c753..453e238 100644
--- a/programs/notepad/Makefile.in
+++ b/programs/notepad/Makefile.in
@@ -46,6 +46,18 @@ RC_SRCS = \
Zh.rc \
rsrc.rc
+MANPAGES = notepad.man
+
SVG_SRCS = notepad.svg
@MAKE_PROG_RULES@
+
+all: $(MANPAGES)
+
+install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
+ $(INSTALL_DATA) notepad.man $(DESTDIR)$(mandir)/man$(prog_manext)/notepad.$(prog_manext)
+
+ at WOW64_DISABLE@ install install-lib:: install-man-pages
+
+uninstall::
+ $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/notepad.$(prog_manext)
diff --git a/programs/notepad/notepad.man.in b/programs/notepad/notepad.man.in
new file mode 100644
index 0000000..98affc4
--- /dev/null
+++ b/programs/notepad/notepad.man.in
@@ -0,0 +1,11 @@
+.TH NOTEPAD 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs"
+.SH NAME
+notepad \- Wine text editor
+.SH SYNOPSIS
+.BR "notepad "\fI[text file]\fR "
+.SH DESCRIPTION
+.B notepad
+is the Wine text editor, designed to be compatible with its Microsoft Windows counterpart.
+It supports ANSI, UTF-8 and UTF-16 files, and can read (but not write) files with Unix line endings.
+.SH "SEE ALSO"
+.BR wine(1)
More information about the wine-cvs
mailing list