Austin English : notepad: Add a manpage.
Alexandre Julliard
julliard at winehq.org
Tue Nov 23 09:38:21 CST 2010
Module: wine
Branch: master
Commit: ac0f13100e95e3dea4edfb9b8257ddd9e8ec6d15
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac0f13100e95e3dea4edfb9b8257ddd9e8ec6d15
Author: Austin English <austinenglish at gmail.com>
Date: Sat Nov 20 11:22:58 2010 +0100
notepad: Add a manpage.
---
.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 945c830..b1c2f2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -261,6 +261,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 ee3e5d7..f79cf70 100644
--- a/programs/notepad/Makefile.in
+++ b/programs/notepad/Makefile.in
@@ -43,6 +43,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