From d2989f0d09254268b557ab18aee572032d450291 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 24 Nov 2010 06:27:30 -0800 Subject: [PATCH] winefile: Add a manpage. --- .gitignore | 1 + programs/winefile/Makefile.in | 12 ++++++++++++ programs/winefile/winefile.man.in | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 programs/winefile/winefile.man.in diff --git a/.gitignore b/.gitignore index 1f4999a7e42..4c866b9c55e 100644 --- a/.gitignore +++ b/.gitignore @@ -273,6 +273,7 @@ programs/winedbg/dbg.tab.c programs/winedbg/dbg.tab.h programs/winedbg/debug.yy.c programs/winedbg/winedbg.man +programs/winefile/winefile.man programs/winemine/winemine.man programs/winetest/*_test.exe programs/winetest/*_test.rc diff --git a/programs/winefile/Makefile.in b/programs/winefile/Makefile.in index dc15104144c..3d5b47bbe5b 100644 --- a/programs/winefile/Makefile.in +++ b/programs/winefile/Makefile.in @@ -33,6 +33,18 @@ RC_SRCS = \ Zh.rc \ rsrc.rc +MANPAGES = winefile.man + SVG_SRCS = winefile.svg @MAKE_PROG_RULES@ + +all: $(MANPAGES) + +install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext) + $(INSTALL_DATA) winefile.man $(DESTDIR)$(mandir)/man$(prog_manext)/winefile.$(prog_manext) + +@WOW64_DISABLE@ install install-lib:: install-man-pages + +uninstall:: + $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winefile.$(prog_manext) diff --git a/programs/winefile/winefile.man.in b/programs/winefile/winefile.man.in new file mode 100644 index 00000000000..761501d116a --- /dev/null +++ b/programs/winefile/winefile.man.in @@ -0,0 +1,19 @@ +.TH WINEFILE 1 "November 2010" "@PACKAGE_STRING@" "Wine Programs" +.SH NAME +winefile \- Wine File Manager +.SH SYNOPSIS +.BR "winefile \fl[Unix\ path]\fR" + +.BR "winefile \fl[Win32\ path]\fR" +.SH DESCRIPTION +.B winefile +is the Wine file manager, with a similar design to early Microsoft Windows explorer. +.SH USAGE +.B You can pass winefile either a Unix or Win32 path, for example: + +.B Using a Unix path: winefile /mnt/hda1 + +.B Using a Win32 path: winefile C:\(rs\(rswindows\(rs\(rs\ + +.SH "SEE ALSO" +.BR wine(1)