Install wine.man from current directory.
Remove wine.man on distclean, not on clean.
diff --git a/Makefile.in b/Makefile.in
index 14f414b..817db77 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -242,7 +242,7 @@
$(RM) wine wine.sym libwine.a libwine.so.1.0 libwine.so TAGS .#*
distclean: clean
- $(RM) config.* Make.rules include/config.h
+ $(RM) config.* Make.rules include/config.h documentation/wine.man
$(RM) `find . \( -name Makefile -o -size 0 \) -print`
# We depend on configure above for checks, so we better don't use this rule.
diff --git a/documentation/Makefile.in b/documentation/Makefile.in
index e376654..37fd8af 100644
--- a/documentation/Makefile.in
+++ b/documentation/Makefile.in
@@ -51,7 +51,7 @@
install::
[ -d $(mandir) ] || mkdir -p $(mandir)
- $(INSTALL_DATA) $(SRCDIR)/wine.man $(mandir)/wine$(manext)
+ $(INSTALL_DATA) wine.man $(mandir)/wine$(manext)
uninstall::
$(RM) $(mandir)/wine$(manext)
@@ -68,7 +68,7 @@
$(RM) $(INFOFILES) $(DVIFILES) $(INCLUDES)
$(RM) wine.aux wine.cp wine.cps wine.fn wine.fns wine.ky wine.log \
wine.pg wine.toc wine.tp wine.tps wine.vr wine.vrs \
- wine.texi wine.man
+ wine.texi
$(RM) -r man3w
### Dependencies: