Blame otp-0004-Do-not-install-C-sources.patch

Hans Ulrich Niedermann b61466
From 1546111ae258101825045a7ca656078349b73e7c Mon Sep 17 00:00:00 2001
Peter Lemenkov 96952b
From: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov 96952b
Date: Fri, 18 Jun 2010 23:41:33 +0400
Hans Ulrich Niedermann f7fc57
Subject: [PATCH 04/12] Do not install C sources
Peter Lemenkov 96952b
Peter Lemenkov 96952b
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Peter Lemenkov 96952b
---
Peter Lemenkov 96952b
 lib/asn1/c_src/Makefile           |    2 --
Peter Lemenkov 96952b
 lib/crypto/c_src/Makefile.in      |    3 ---
Peter Lemenkov 96952b
 lib/erl_interface/src/Makefile.in |   18 ------------------
Peter Lemenkov 96952b
 lib/ic/c_src/Makefile.in          |    2 --
Peter Lemenkov 96952b
 lib/megaco/src/flex/Makefile.in   |    2 +-
Peter Lemenkov 96952b
 lib/odbc/c_src/Makefile.in        |    3 ---
Peter Lemenkov 96952b
 lib/os_mon/c_src/Makefile.in      |    1 -
Peter Lemenkov 96952b
 lib/ssl/c_src/Makefile.in         |    9 ---------
Peter Lemenkov 96952b
 lib/tools/c_src/Makefile.in       |    2 --
Peter Lemenkov 96952b
 9 files changed, 1 insertions(+), 41 deletions(-)
Peter Lemenkov 96952b
Peter Lemenkov 96952b
diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile
Peter Lemenkov 96952b
index 9e9cb18..1d73d3c 100644
Peter Lemenkov 96952b
--- a/lib/asn1/c_src/Makefile
Peter Lemenkov 96952b
+++ b/lib/asn1/c_src/Makefile
Peter Lemenkov 96952b
@@ -125,8 +125,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(SHARED_OBJ_FILES) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(C_FILES) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
943316
index 48f931d..4a7a183 100644
Peter Lemenkov 96952b
--- a/lib/crypto/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/crypto/c_src/Makefile.in
943316
@@ -136,10 +136,7 @@ docs:
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(NIF_MAKEFILE) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
-	$(INSTALL_PROGRAM) $(OBJS) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(NIF_LIB) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/erl_interface/src/Makefile.in b/lib/erl_interface/src/Makefile.in
Peter Lemenkov 96952b
index 8ff142a..d785902 100644
Peter Lemenkov 96952b
--- a/lib/erl_interface/src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/erl_interface/src/Makefile.in
Peter Lemenkov 96952b
@@ -876,29 +876,11 @@ release: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/lib
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/bin
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/auxdir
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/connect
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/decode
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/encode
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/epmd
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/legacy
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/misc
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/prog
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src/registry
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HEADERS)     $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(OBJ_TARGETS) $(RELSYSDIR)/lib
Peter Lemenkov 96952b
 ifneq ($(EXE_TARGETS),)
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(EXE_TARGETS) $(RELSYSDIR)/bin
Peter Lemenkov 96952b
 endif
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(EXTRA)        $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) connect/*.[ch]  $(RELSYSDIR)/src/connect
Peter Lemenkov 96952b
-	$(INSTALL_DATA) decode/*.[ch]   $(RELSYSDIR)/src/decode
Peter Lemenkov 96952b
-	$(INSTALL_DATA) encode/*.[ch]   $(RELSYSDIR)/src/encode
Peter Lemenkov 96952b
-	$(INSTALL_DATA) epmd/*.[ch]     $(RELSYSDIR)/src/epmd
Peter Lemenkov 96952b
-	$(INSTALL_DATA) misc/*.[ch]     $(RELSYSDIR)/src/misc
Peter Lemenkov 96952b
-	$(INSTALL_DATA) registry/*.[ch] $(RELSYSDIR)/src/registry
Peter Lemenkov 96952b
-	$(INSTALL_DATA) legacy/*.[ch]   $(RELSYSDIR)/src/legacy
Peter Lemenkov 96952b
-	$(INSTALL_DATA) prog/*.[ch]     $(RELSYSDIR)/src/prog
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs:
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/ic/c_src/Makefile.in b/lib/ic/c_src/Makefile.in
Peter Lemenkov 96952b
index 6eef782..091895b 100644
Peter Lemenkov 96952b
--- a/lib/ic/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/ic/c_src/Makefile.in
Peter Lemenkov 96952b
@@ -144,10 +144,8 @@ $(OBJDIR)/%.o: %.c
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
-	$(INSTALL_DATA) ic.c ic_tmo.c $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(IDL_FILES) $(H_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(LIBRARY) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
index 5af651d..2ccf2a9 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
@@ -279,7 +279,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/flex
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(FLEX_FILES) $(C_TARGETS) $(RELSYSDIR)/src/flex
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(FLEX_FILES) $(RELSYSDIR)/src/flex
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(SOLIBS) $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
 endif
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in
Peter Lemenkov 96952b
index ed3eeb1..c01d9bf 100644
Peter Lemenkov 96952b
--- a/lib/odbc/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/odbc/c_src/Makefile.in
Peter Lemenkov 96952b
@@ -131,11 +131,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 ifdef EXE_TARGET
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(C_FILES) $(H_FILES) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(EXE_TARGET) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
 endif
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/os_mon/c_src/Makefile.in b/lib/os_mon/c_src/Makefile.in
Peter Lemenkov 96952b
index 1a371eb..62eac66 100644
Peter Lemenkov 96952b
--- a/lib/os_mon/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/os_mon/c_src/Makefile.in
Peter Lemenkov 96952b
@@ -136,7 +136,6 @@ release_spec:
Peter Lemenkov 96952b
 else
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(C_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(TARGET_FILES) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
 endif
Peter Lemenkov 96952b
diff --git a/lib/ssl/c_src/Makefile.in b/lib/ssl/c_src/Makefile.in
Peter Lemenkov 96952b
index 5e6c74e..bf4843b 100644
Peter Lemenkov 96952b
--- a/lib/ssl/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/ssl/c_src/Makefile.in
Peter Lemenkov 96952b
@@ -199,15 +199,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(PORT_PROGRAM) $(RELSYSDIR)/priv/bin
Peter Lemenkov 96952b
-ifneq ($(SSL_MAKEFILE),)
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(OBJS) $(RELSYSDIR)/priv/obj
Peter Lemenkov 96952b
-	sed 	-e "s;%BINDIR%;../bin;" \
Peter Lemenkov 96952b
-		-e "s;%SSL_LIBDIR%;$(SSL_LIBDIR);" \
Peter Lemenkov 96952b
-		-e "s;%OBJS;$(OBJS);" \
Peter Lemenkov 96952b
-		-e "s;%LIBS%;$(LIBS);" ./Makefile.dist \
Peter Lemenkov 96952b
-		> $(RELSYSDIR)/priv/obj/Makefile
Peter Lemenkov 96952b
-endif
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in
943316
index 65a7f5f..144c1ba 100644
Peter Lemenkov 96952b
--- a/lib/tools/c_src/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/tools/c_src/Makefile.in
943316
@@ -190,8 +190,6 @@ include ../vsn.mk
Peter Lemenkov 96952b
 RELSYSDIR = $(RELEASE_PATH)/lib/tools-$(TOOLS_VSN)
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: all
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(EMEM_SRCS) $(EMEM_HEADERS) $(RELSYSDIR)/c_src
Peter Lemenkov 96952b
 ifneq ($(PROGS),)
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/bin
Peter Lemenkov 96952b
 	$(INSTALL_PROGRAM) $(PROGS) $(RELSYSDIR)/bin
Peter Lemenkov 96952b
-- 
Hans Ulrich Niedermann f7fc57
1.7.3.5
Peter Lemenkov 96952b