diff --git a/.gitignore b/.gitignore index 945c830258f..b1c2f2ffbbd 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 ee3e5d7c3d0..f79cf706766 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 00000000000..98affc4dcaf --- /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)