From 0bc384f0f7bf4ebc3fca978545d1a51ff751c2c2 Mon Sep 17 00:00:00 2001
From: "Alexander V. Lukyanov" <lav@long.yar.ru>
Date: Fri, 18 Jun 1999 16:58:06 +0000
Subject: [PATCH] Install wine.man from current directory. Remove wine.man on
 distclean, not on clean.

---
 Makefile.in               | 2 +-
 documentation/Makefile.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 14f414b331f..817db7717fc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -242,7 +242,7 @@ clean::
 	$(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 e3766549767..37fd8af708a 100644
--- a/documentation/Makefile.in
+++ b/documentation/Makefile.in
@@ -51,7 +51,7 @@ $(INCLUDES):
 
 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 @@ clean::
 	$(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:
-- 
GitLab