notepad: Add a manpage.

oldstable
Austin English 2010-11-20 11:22:58 +01:00 committed by Alexandre Julliard
parent 6d56678fbe
commit ac0f13100e
3 changed files with 24 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/notepad.$(prog_manext)

View File

@ -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)