From ac0f13100e95e3dea4edfb9b8257ddd9e8ec6d15 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 20 Nov 2010 11:22:58 +0100 Subject: [PATCH] notepad: Add a manpage. --- .gitignore | 1 + programs/notepad/Makefile.in | 12 ++++++++++++ programs/notepad/notepad.man.in | 11 +++++++++++ 3 files changed, 24 insertions(+) create mode 100644 programs/notepad/notepad.man.in diff --git a/.gitignore b/.gitignore index 945c830258..b1c2f2ffbb 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 ee3e5d7c3d..f79cf70676 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) + +@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 0000000000..98affc4dca --- /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) -- 2.32.0.93.g670b81a890