File erlang-not-install-misc.patch of Package erlang

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Thu, 25 Feb 2010 16:45:28 +0300
Subject: [PATCH] Do not format man-pages and do not install miscellaneous
 utilities for dealing with man-pages.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 erts/etc/common/Makefile.in |  4 ----
 erts/etc/unix/Install.src   | 10 ----------
 2 files changed, 14 deletions(-)

Index: otp-OTP-20.1.2/erts/etc/common/Makefile.in
===================================================================
--- otp-OTP-20.1.2.orig/erts/etc/common/Makefile.in
+++ otp-OTP-20.1.2/erts/etc/common/Makefile.in
@@ -495,10 +495,6 @@ endif
 ifneq ($(INSTALL_TOP_BIN),)
 	$(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)"
 endif
-ifneq ($(INSTALL_MISC),)
-	$(INSTALL_DIR) "$(RELEASE_PATH)/misc"
-	$(INSTALL_SCRIPT) $(INSTALL_MISC) "$(RELEASE_PATH)/misc"
-endif
 ifneq ($(INSTALL_SRC),)
 	$(INSTALL_DIR) "$(RELEASE_PATH)/erts-$(VSN)/src"
 	$(INSTALL_DATA) $(INSTALL_SRC) "$(RELEASE_PATH)/erts-$(VSN)/src"
Index: otp-OTP-20.1.2/erts/etc/unix/Install.src
===================================================================
--- otp-OTP-20.1.2.orig/erts/etc/unix/Install.src
+++ otp-OTP-20.1.2/erts/etc/unix/Install.src
@@ -141,14 +141,4 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*
 cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot .
 cp -p $Name.boot start.boot
 cp -p ../releases/%I_SYSTEM_VSN%/$Name.script start.script
-#
-# Fixing the man pages
-#
-
-if [ -d "$ERL_ROOT/man" ]
-then
-    cd "$ERL_ROOT"
-    ./misc/format_man_pages "$ERL_ROOT"
-fi
-
 exit 0
openSUSE Build Service is sponsored by