|
Peter Lemenkov |
96952b |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
96952b |
Date: Fri, 18 Jun 2010 23:41:33 +0400
|
|
Hans Ulrich Niedermann |
696873 |
Subject: [PATCH] Do not install C sources
|
|
Peter Lemenkov |
96952b |
|
|
|
5203c4 |
Don't install *.c and *.o files at all.
|
|
|
5203c4 |
|
|
Peter Lemenkov |
96952b |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
96952b |
---
|
|
|
5203c4 |
lib/asn1/c_src/Makefile | 2 --
|
|
|
5203c4 |
lib/crypto/c_src/Makefile.in | 3 ---
|
|
|
5203c4 |
lib/erl_interface/src/Makefile.in | 18 ------------------
|
|
|
5203c4 |
lib/ic/c_src/Makefile.in | 2 --
|
|
|
5203c4 |
lib/megaco/src/flex/Makefile.in | 2 +-
|
|
|
5203c4 |
lib/odbc/c_src/Makefile.in | 3 ---
|
|
|
5203c4 |
lib/os_mon/c_src/Makefile.in | 1 -
|
|
|
5203c4 |
lib/runtime_tools/c_src/Makefile.in | 2 --
|
|
|
5203c4 |
lib/tools/c_src/Makefile.in | 2 --
|
|
|
5203c4 |
9 files changed, 1 insertion(+), 34 deletions(-)
|
|
Peter Lemenkov |
96952b |
|
|
Peter Lemenkov |
96952b |
diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile
|
|
|
5d2c88 |
index 8c06be5..7013289 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/asn1/c_src/Makefile
|
|
Peter Lemenkov |
96952b |
+++ b/lib/asn1/c_src/Makefile
|
|
|
5d2c88 |
@@ -112,8 +112,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
|
|
Peter Lemenkov |
96952b |
release_spec: opt
|
|
Peter Lemenkov |
96952b |
$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
|
|
|
5d2c88 |
$(INSTALL_PROGRAM) $(NIF_SHARED_OBJ_FILE) $(RELSYSDIR)/priv/lib
|
|
Peter Lemenkov |
96952b |
- $(INSTALL_DIR) $(RELSYSDIR)/c_src
|
|
|
5d2c88 |
- $(INSTALL_DATA) *.c $(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
|
|
|
5d2c88 |
index 3f0f5c4..ba7ab1c 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/crypto/c_src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/crypto/c_src/Makefile.in
|
|
|
5d2c88 |
@@ -133,10 +133,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
|
|
|
5d2c88 |
index d6b0ca1..91a2cc9 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/erl_interface/src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/erl_interface/src/Makefile.in
|
|
|
5d2c88 |
@@ -846,29 +846,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
|
|
|
5d2c88 |
index 5e034c4..c101201 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/ic/c_src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/ic/c_src/Makefile.in
|
|
|
5d2c88 |
@@ -140,10 +140,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
|
|
|
5d2c88 |
index 7d82644..27275f2 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
|
|
|
5d2c88 |
index 3a96a53..bbf0d7b 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/odbc/c_src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/odbc/c_src/Makefile.in
|
|
|
5d2c88 |
@@ -128,11 +128,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
|
|
|
5d2c88 |
index bac0413..5c32296 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/os_mon/c_src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/os_mon/c_src/Makefile.in
|
|
|
5d2c88 |
@@ -132,7 +132,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
|
|
|
5203c4 |
diff --git a/lib/runtime_tools/c_src/Makefile.in b/lib/runtime_tools/c_src/Makefile.in
|
|
|
5203c4 |
index cbbcfa2..20f1ca6 100644
|
|
|
5203c4 |
--- a/lib/runtime_tools/c_src/Makefile.in
|
|
|
5203c4 |
+++ b/lib/runtime_tools/c_src/Makefile.in
|
|
|
5203c4 |
@@ -193,9 +193,7 @@ docs:
|
|
|
5203c4 |
include $(ERL_TOP)/make/otp_release_targets.mk
|
|
|
5203c4 |
|
|
|
5203c4 |
release_spec: opt
|
|
|
5203c4 |
- $(INSTALL_DIR) $(RELSYSDIR)/priv/obj
|
|
|
5203c4 |
$(INSTALL_DIR) $(RELSYSDIR)/priv/lib
|
|
|
5203c4 |
- $(INSTALL_PROGRAM) $(DYNTRACE_OBJS) $(RELSYSDIR)/priv/obj
|
|
|
5203c4 |
$(INSTALL_PROGRAM) $(NIF_LIB) $(SOLIBS) $(RELSYSDIR)/priv/lib
|
|
|
5203c4 |
|
|
|
5203c4 |
release_docs_spec:
|
|
Peter Lemenkov |
96952b |
diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in
|
|
|
5203c4 |
index b8c4aed..f7f5dff 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/tools/c_src/Makefile.in
|
|
Peter Lemenkov |
96952b |
+++ b/lib/tools/c_src/Makefile.in
|
|
|
5203c4 |
@@ -188,8 +188,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
|