Blame otp-0007-Do-not-install-erlang-sources.patch

Hans Ulrich Niedermann d00ca9
From: Hans Ulrich Niedermann <hun@n-dimensional.de>
Hans Ulrich Niedermann d00ca9
Date: Mon, 21 Mar 2011 15:41:49 +0100
Hans Ulrich Niedermann 696873
Subject: [PATCH] Do not install erlang sources
Peter Lemenkov 96952b
Peter Lemenkov 96952b
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Hans Ulrich Niedermann d00ca9
Signed-off-by: Hans Ulrich Niedermann <hun@n-dimensional.de>
Peter Lemenkov 96952b
---
5d2c88
 erts/preloaded/src/Makefile        |    2 --
5d2c88
 lib/appmon/src/Makefile            |    2 +-
5d2c88
 lib/asn1/src/Makefile              |    2 +-
5d2c88
 lib/common_test/src/Makefile       |    2 +-
5d2c88
 lib/compiler/src/Makefile          |    4 ++--
5d2c88
 lib/cosEvent/src/Makefile          |    2 +-
5d2c88
 lib/cosEventDomain/src/Makefile    |    2 +-
5d2c88
 lib/cosFileTransfer/src/Makefile   |    3 +--
5d2c88
 lib/cosNotification/src/Makefile   |    3 +--
5d2c88
 lib/cosProperty/src/Makefile       |    3 +--
5d2c88
 lib/cosTime/src/Makefile           |    3 +--
5d2c88
 lib/cosTransactions/src/Makefile   |    2 +-
5d2c88
 lib/crypto/src/Makefile            |    2 --
5d2c88
 lib/debugger/src/Makefile          |    2 +-
5d2c88
 lib/dialyzer/src/Makefile          |    2 +-
5d2c88
 lib/diameter/src/Makefile          |    6 ++----
5d2c88
 lib/edoc/src/Makefile              |    2 +-
5d2c88
 lib/erl_docgen/src/Makefile        |    2 --
5d2c88
 lib/et/src/Makefile                |    1 -
5d2c88
 lib/eunit/src/Makefile             |    2 --
5d2c88
 lib/gs/src/Makefile                |    4 ++--
5d2c88
 lib/hipe/cerl/Makefile             |    2 +-
5d2c88
 lib/hipe/flow/Makefile             |    2 +-
5d2c88
 lib/hipe/icode/Makefile            |    2 +-
5d2c88
 lib/hipe/main/Makefile             |    2 +-
5d2c88
 lib/hipe/misc/Makefile             |    2 +-
5d2c88
 lib/hipe/rtl/Makefile              |    2 +-
5d2c88
 lib/hipe/util/Makefile             |    3 ---
5d2c88
 lib/ic/src/Makefile                |    2 +-
5d2c88
 lib/inets/src/ftp/Makefile         |    2 +-
5d2c88
 lib/inets/src/http_client/Makefile |    2 +-
5d2c88
 lib/inets/src/http_lib/Makefile    |    2 +-
5d2c88
 lib/inets/src/http_server/Makefile |    2 +-
5d2c88
 lib/inets/src/inets_app/Makefile   |    2 +-
5d2c88
 lib/inets/src/tftp/Makefile        |    2 +-
5d2c88
 lib/inviso/src/Makefile            |    2 --
5d2c88
 lib/kernel/src/Makefile            |    1 -
5d2c88
 lib/megaco/src/app/Makefile        |    2 +-
5d2c88
 lib/megaco/src/binary/Makefile     |    2 +-
5d2c88
 lib/megaco/src/engine/Makefile     |    2 +-
5d2c88
 lib/megaco/src/flex/Makefile.in    |    1 -
5d2c88
 lib/megaco/src/tcp/Makefile        |    2 +-
5d2c88
 lib/megaco/src/text/Makefile       |    2 +-
5d2c88
 lib/megaco/src/udp/Makefile        |    2 +-
5d2c88
 lib/mnesia/src/Makefile            |    2 +-
5d2c88
 lib/observer/src/Makefile          |    1 -
5d2c88
 lib/odbc/src/Makefile              |    2 +-
5d2c88
 lib/orber/COSS/CosNaming/Makefile  |    4 ++--
5d2c88
 lib/orber/src/Makefile             |    2 +-
5d2c88
 lib/os_mon/src/Makefile            |    1 -
5d2c88
 lib/otp_mibs/src/Makefile          |    2 --
5d2c88
 lib/parsetools/src/Makefile        |    2 --
5d2c88
 lib/percept/src/Makefile           |    2 --
5d2c88
 lib/pman/src/Makefile              |    2 +-
5d2c88
 lib/public_key/src/Makefile        |    4 ----
5d2c88
 lib/reltool/src/Makefile           |    2 +-
5d2c88
 lib/runtime_tools/src/Makefile     |    2 --
5d2c88
 lib/sasl/src/Makefile              |    1 -
5d2c88
 lib/snmp/src/agent/Makefile        |    2 +-
5d2c88
 lib/snmp/src/app/Makefile          |    2 +-
5d2c88
 lib/snmp/src/compile/Makefile      |    2 +-
5d2c88
 lib/snmp/src/manager/Makefile      |    2 +-
5d2c88
 lib/snmp/src/misc/Makefile         |    2 +-
5d2c88
 lib/ssh/src/Makefile               |    2 +-
5d2c88
 lib/ssl/src/Makefile               |    2 +-
5d2c88
 lib/stdlib/src/Makefile            |    1 -
5d2c88
 lib/syntax_tools/src/Makefile      |    2 --
5d2c88
 lib/test_server/src/Makefile       |    1 -
5d2c88
 lib/toolbar/src/Makefile           |    2 +-
5d2c88
 lib/tools/src/Makefile             |    2 +-
5d2c88
 lib/tv/src/Makefile                |    2 +-
5d2c88
 lib/typer/src/Makefile             |    2 --
5d2c88
 lib/webtool/src/Makefile           |    2 --
5d2c88
 lib/wx/src/Makefile                |    4 ++--
5d2c88
 lib/xmerl/src/Makefile             |    4 +---
5d2c88
 75 files changed, 58 insertions(+), 105 deletions(-)
Peter Lemenkov 96952b
Peter Lemenkov 96952b
diff --git a/erts/preloaded/src/Makefile b/erts/preloaded/src/Makefile
Hans Ulrich Niedermann b61466
index 1456388..81db627 100644
Peter Lemenkov 96952b
--- a/erts/preloaded/src/Makefile
Peter Lemenkov 96952b
+++ b/erts/preloaded/src/Makefile
Hans Ulrich Niedermann b61466
@@ -68,8 +68,6 @@ copy:
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: 
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(STATIC_TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/appmon/src/Makefile b/lib/appmon/src/Makefile
Peter Lemenkov 96952b
index 43f4f08..7e2d9b1 100644
Peter Lemenkov 96952b
--- a/lib/appmon/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/appmon/src/Makefile
Peter Lemenkov 96952b
@@ -93,7 +93,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/asn1/src/Makefile b/lib/asn1/src/Makefile
5d2c88
index 3a59773..17ebb53 100644
Peter Lemenkov 96952b
--- a/lib/asn1/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/asn1/src/Makefile
Peter Lemenkov 96952b
@@ -155,7 +155,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA)  $(ERL_FILES) $(HRL_FILES) $(APP_SRC) $(APPUP_SRC) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/examples
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXAMPLES) $(RELSYSDIR)/examples
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile
5d2c88
index 125aa82..b62fe0f 100644
Peter Lemenkov 96952b
--- a/lib/common_test/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/common_test/src/Makefile
5d2c88
@@ -133,7 +133,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
5d2c88
index 7a23760..20fea4e 100644
Peter Lemenkov 96952b
--- a/lib/compiler/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/compiler/src/Makefile
5d2c88
@@ -163,8 +163,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \
Peter Lemenkov 96952b
-		$(YRL_FILE) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \
Peter Lemenkov 96952b
+		$(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INSTALL_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosEvent/src/Makefile b/lib/cosEvent/src/Makefile
5d2c88
index f8e751f..369ad08 100644
Peter Lemenkov 96952b
--- a/lib/cosEvent/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosEvent/src/Makefile
5d2c88
@@ -202,7 +202,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosEventDomain/src/Makefile b/lib/cosEventDomain/src/Makefile
5d2c88
index 409cac4..722ec46 100644
Peter Lemenkov 96952b
--- a/lib/cosEventDomain/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosEventDomain/src/Makefile
5d2c88
@@ -171,7 +171,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosFileTransfer/src/Makefile b/lib/cosFileTransfer/src/Makefile
5d2c88
index 1d51304..c5cb87a 100644
Peter Lemenkov 96952b
--- a/lib/cosFileTransfer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosFileTransfer/src/Makefile
5d2c88
@@ -179,8 +179,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosNotification/src/Makefile b/lib/cosNotification/src/Makefile
5d2c88
index 92225c6..4568cd7 100644
Peter Lemenkov 96952b
--- a/lib/cosNotification/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosNotification/src/Makefile
5d2c88
@@ -370,8 +370,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(YECC_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILES) $(YECC_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosProperty/src/Makefile b/lib/cosProperty/src/Makefile
5d2c88
index 8060421..2a83d28 100644
Peter Lemenkov 96952b
--- a/lib/cosProperty/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosProperty/src/Makefile
5d2c88
@@ -179,8 +179,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosTime/src/Makefile b/lib/cosTime/src/Makefile
5d2c88
index 18c25ca..c3df6a0 100644
Peter Lemenkov 96952b
--- a/lib/cosTime/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosTime/src/Makefile
5d2c88
@@ -198,8 +198,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosTransactions/src/Makefile b/lib/cosTransactions/src/Makefile
5d2c88
index 3c799ca..3b35bac 100644
Peter Lemenkov 96952b
--- a/lib/cosTransactions/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosTransactions/src/Makefile
5d2c88
@@ -173,7 +173,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILE) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/crypto/src/Makefile b/lib/crypto/src/Makefile
Peter Lemenkov 96952b
index 0e886ce..d24ab24 100644
Peter Lemenkov 96952b
--- a/lib/crypto/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/crypto/src/Makefile
Peter Lemenkov 96952b
@@ -83,8 +83,6 @@ 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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \
Peter Lemenkov 96952b
 		$(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/debugger/src/Makefile b/lib/debugger/src/Makefile
5d2c88
index be9a2d1..073c3aa 100644
Peter Lemenkov 96952b
--- a/lib/debugger/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/debugger/src/Makefile
5d2c88
@@ -130,7 +130,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(TARGET_TOOLBOX_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile
Peter Lemenkov 96952b
index 810f86d..f3f2b22 100644
Peter Lemenkov 96952b
--- a/lib/dialyzer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/dialyzer/src/Makefile
Peter Lemenkov 96952b
@@ -153,7 +153,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \
Peter Lemenkov 96952b
 		$(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INSTALL_FILES) $(RELSYSDIR)/ebin
5d2c88
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile
5d2c88
index 2ec016e..d86733a 100644
5d2c88
--- a/lib/diameter/src/Makefile
5d2c88
+++ b/lib/diameter/src/Makefile
5d2c88
@@ -201,10 +201,8 @@ release_spec: opt
5d2c88
 	$(MAKE) $(TARGET_DIRS:%/=release_src_%)
5d2c88
 
5d2c88
 $(TARGET_DIRS:%/=release_src_%): release_src_%:
5d2c88
-	$(INSTALL_DATA) $(filter $*/%, $(TARGET_MODULES:%=%.erl) \
5d2c88
-	                               $(INTERNAL_HRLS)) \
5d2c88
-	                $(filter $*/%, compiler/$(DICT_YRL).yrl) \
5d2c88
-	                $(RELSYSDIR)/src/$*
5d2c88
+	$(INSTALL_DATA) $(filter $*/%, $(INTERNAL_HRLS)) \
5d2c88
+	                $(RELSYSDIR)/src/$* || true
ebf67f
 
ebf67f
 release_docs_spec:
ebf67f
 
Peter Lemenkov 96952b
diff --git a/lib/edoc/src/Makefile b/lib/edoc/src/Makefile
64bbd2
index fcb0b61..2082ca6 100644
Peter Lemenkov 96952b
--- a/lib/edoc/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/edoc/src/Makefile
Hans Ulrich Niedermann d00ca9
@@ -88,7 +88,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(OBJECTS) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(SOURCES) $(HRL_FILES) $(YRL_FILE) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
 
ebf67f
diff --git a/lib/erl_docgen/src/Makefile b/lib/erl_docgen/src/Makefile
5d2c88
index cbaf6e4..d3cdbd6 100644
ebf67f
--- a/lib/erl_docgen/src/Makefile
ebf67f
+++ b/lib/erl_docgen/src/Makefile
5d2c88
@@ -89,8 +89,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
ebf67f
 include $(ERL_TOP)/make/otp_release_targets.mk
ebf67f
 
ebf67f
 release_spec: opt
ebf67f
-	$(INSTALL_DIR) $(RELSYSDIR)/src
ebf67f
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
ebf67f
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
ebf67f
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
ebf67f
 
Peter Lemenkov 96952b
diff --git a/lib/et/src/Makefile b/lib/et/src/Makefile
Peter Lemenkov 96952b
index bb6632e..3e71e02 100644
Peter Lemenkov 96952b
--- a/lib/et/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/et/src/Makefile
Peter Lemenkov 96952b
@@ -108,7 +108,6 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile
5d2c88
index bec2fdb..0814f12 100644
Peter Lemenkov 96952b
--- a/lib/eunit/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/eunit/src/Makefile
5d2c88
@@ -109,8 +109,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
5d2c88
 	$(INSTALL_DATA) $(PARSE_TRANSFORM_BIN) $(OBJECTS) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src
5d2c88
-	$(INSTALL_DATA) $(PARSE_TRANSFORM) $(SOURCES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INCLUDE_DELIVERABLES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/gs/src/Makefile b/lib/gs/src/Makefile
5d2c88
index 43b5302..37e836a 100644
Peter Lemenkov 96952b
--- a/lib/gs/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/gs/src/Makefile
5d2c88
@@ -108,8 +108,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(APP_SRC) $(ERL_FILES) $(HRL_FILES) $(GEN_HRL_FILES) \
Peter Lemenkov 96952b
-		$(GSTK_GENERIC) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) \
Peter Lemenkov 96952b
+		$(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/priv/bitmap
Peter Lemenkov 96952b
diff --git a/lib/hipe/cerl/Makefile b/lib/hipe/cerl/Makefile
Peter Lemenkov 96952b
index 7fcc44d..6e41e6b 100644
Peter Lemenkov 96952b
--- a/lib/hipe/cerl/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/cerl/Makefile
Peter Lemenkov 96952b
@@ -98,7 +98,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/cerl
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/cerl
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/cerl
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/flow/Makefile b/lib/hipe/flow/Makefile
Peter Lemenkov 96952b
index 02f6105..9fa7078 100644
Peter Lemenkov 96952b
--- a/lib/hipe/flow/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/flow/Makefile
Peter Lemenkov 96952b
@@ -98,7 +98,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/flow
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(INC_FILES) $(RELSYSDIR)/flow
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(INC_FILES) $(RELSYSDIR)/flow
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/icode/Makefile b/lib/hipe/icode/Makefile
Peter Lemenkov 96952b
index eced90b..e48c64e 100644
Peter Lemenkov 96952b
--- a/lib/hipe/icode/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/icode/Makefile
Peter Lemenkov 96952b
@@ -116,7 +116,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/icode
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/icode
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/icode
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/main/Makefile b/lib/hipe/main/Makefile
Peter Lemenkov 96952b
index a14c9c3..163bded 100644
Peter Lemenkov 96952b
--- a/lib/hipe/main/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/main/Makefile
Peter Lemenkov 96952b
@@ -114,7 +114,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) ../vsn.mk $(RELSYSDIR)
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/main
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/main
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/main
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/misc/Makefile b/lib/hipe/misc/Makefile
Peter Lemenkov 96952b
index 98a69d6..23073cd 100644
Peter Lemenkov 96952b
--- a/lib/hipe/misc/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/misc/Makefile
Peter Lemenkov 96952b
@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/misc
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/misc
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/misc
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/rtl/Makefile b/lib/hipe/rtl/Makefile
5d2c88
index 690045b..70fb146 100644
Peter Lemenkov 96952b
--- a/lib/hipe/rtl/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/rtl/Makefile
Peter Lemenkov 96952b
@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/rtl
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/rtl
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/rtl
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/util/Makefile b/lib/hipe/util/Makefile
Peter Lemenkov 96952b
index 85719ec..ae2cbc0 100644
Peter Lemenkov 96952b
--- a/lib/hipe/util/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/util/Makefile
Peter Lemenkov 96952b
@@ -49,7 +49,6 @@ HIPE_MODULES =
Peter Lemenkov 96952b
 endif
Peter Lemenkov 96952b
 MODULES = hipe_timing hipe_dot hipe_digraph $(HIPE_MODULES)
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
-HRL_FILES=
Peter Lemenkov 96952b
 ERL_FILES= $(MODULES:%=%.erl)
Peter Lemenkov 96952b
 TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
Peter Lemenkov 96952b
 DOC_FILES= $(MODULES:%=$(DOCS)/%.html)
Peter Lemenkov 96952b
@@ -100,8 +99,6 @@ $(DOCS)/%.html:%.erl
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)/util
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/util
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/ic/src/Makefile b/lib/ic/src/Makefile
Peter Lemenkov 96952b
index 5dac304..381cafe 100644
Peter Lemenkov 96952b
--- a/lib/ic/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/ic/src/Makefile
Peter Lemenkov 96952b
@@ -199,7 +199,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/examples
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/examples/c-client
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(CCL_EX_FILES) $(RELSYSDIR)/examples/c-client	
Peter Lemenkov 96952b
diff --git a/lib/inets/src/ftp/Makefile b/lib/inets/src/ftp/Makefile
Peter Lemenkov 96952b
index 19b9387..f3ff8bf 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/ftp/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/ftp/Makefile
Peter Lemenkov 96952b
@@ -90,7 +90,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/ftp
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/ftp
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/ftp
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inets/src/http_client/Makefile b/lib/inets/src/http_client/Makefile
5d2c88
index d490e59..961324e 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/http_client/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/http_client/Makefile
5d2c88
@@ -91,7 +91,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/http_client
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/http_client
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/http_client
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inets/src/http_lib/Makefile b/lib/inets/src/http_lib/Makefile
Hans Ulrich Niedermann b61466
index aaf3cfb..0236a49 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/http_lib/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/http_lib/Makefile
Hans Ulrich Niedermann b61466
@@ -89,7 +89,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/http_lib
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/http_lib
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/http_lib
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inets/src/http_server/Makefile b/lib/inets/src/http_server/Makefile
Hans Ulrich Niedermann d00ca9
index 55cc68d..78e46ae 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/http_server/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/http_server/Makefile
Hans Ulrich Niedermann d00ca9
@@ -123,7 +123,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/http_server
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/http_server
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/http_server
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inets/src/inets_app/Makefile b/lib/inets/src/inets_app/Makefile
5d2c88
index d99e33b..5ddf947 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/inets_app/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/inets_app/Makefile
5d2c88
@@ -112,7 +112,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/inets_app
Hans Ulrich Niedermann d00ca9
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/inets_app
Hans Ulrich Niedermann d00ca9
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/inets_app
Hans Ulrich Niedermann d00ca9
 	$(INSTALL_DIR)  $(RELSYSDIR)/include
Hans Ulrich Niedermann d00ca9
 	$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/inets/src/tftp/Makefile b/lib/inets/src/tftp/Makefile
Peter Lemenkov 96952b
index 759b70c..9e4f769 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/tftp/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/tftp/Makefile
Peter Lemenkov 96952b
@@ -88,7 +88,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/tftp
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/tftp
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/tftp
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inviso/src/Makefile b/lib/inviso/src/Makefile
Peter Lemenkov 96952b
index 1f2f8b1..9f7652d 100644
Peter Lemenkov 96952b
--- a/lib/inviso/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/inviso/src/Makefile
Peter Lemenkov 96952b
@@ -87,8 +87,6 @@ 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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 #	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 #	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/kernel/src/Makefile b/lib/kernel/src/Makefile
5d2c88
index 54f21eb..9b6e3eb 100644
Peter Lemenkov 96952b
--- a/lib/kernel/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/kernel/src/Makefile
5d2c88
@@ -199,7 +199,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/app/Makefile b/lib/megaco/src/app/Makefile
Peter Lemenkov 96952b
index 01dfb9b..c6a631d 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/app/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/app/Makefile
Peter Lemenkov 96952b
@@ -113,7 +113,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/binary/Makefile b/lib/megaco/src/binary/Makefile
Peter Lemenkov 96952b
index d594f34..6614599 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/binary/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/binary/Makefile
Peter Lemenkov 96952b
@@ -198,7 +198,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/binary
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(ASN1_FILES) $(RELSYSDIR)/src/binary
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/binary
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/engine/Makefile b/lib/megaco/src/engine/Makefile
Peter Lemenkov 96952b
index 3943f4b..879abff 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/engine/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/engine/Makefile
Peter Lemenkov 96952b
@@ -92,7 +92,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/engine
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/engine
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/engine
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
5d2c88
index 27275f2..a45b7c3 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
@@ -276,7 +276,6 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/flex
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/priv/lib
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/include
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) $(RELSYSDIR)/src/flex
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/tcp/Makefile b/lib/megaco/src/tcp/Makefile
Peter Lemenkov 96952b
index 0bd4b7c..8675d1b 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/tcp/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/tcp/Makefile
Peter Lemenkov 96952b
@@ -93,7 +93,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/tcp
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/tcp
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/tcp
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/text/Makefile b/lib/megaco/src/text/Makefile
Peter Lemenkov 96952b
index b2e8e76..bdb9c00 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/text/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/text/Makefile
Peter Lemenkov 96952b
@@ -134,7 +134,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(BEAM_TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/text
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_YRL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/text
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/text
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/udp/Makefile b/lib/megaco/src/udp/Makefile
Peter Lemenkov 96952b
index 64b6478..5cf0fe2 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/udp/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/udp/Makefile
Peter Lemenkov 96952b
@@ -93,7 +93,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR)  $(RELSYSDIR)/src/udp
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/udp
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/udp
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/mnesia/src/Makefile b/lib/mnesia/src/Makefile
64bbd2
index 1c8ec54..cc00b60 100644
Peter Lemenkov 96952b
--- a/lib/mnesia/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/mnesia/src/Makefile
64bbd2
@@ -133,7 +133,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile
5d2c88
index ca26afc..dd43454 100644
Peter Lemenkov 96952b
--- a/lib/observer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/observer/src/Makefile
5d2c88
@@ -129,7 +129,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Hans Ulrich Niedermann b61466
 	$(INSTALL_DIR) $(RELSYSDIR)/examples
Hans Ulrich Niedermann b61466
 	$(INSTALL_DATA) $(EXAMPLE_FILES) $(RELSYSDIR)/examples
Peter Lemenkov 96952b
diff --git a/lib/odbc/src/Makefile b/lib/odbc/src/Makefile
Peter Lemenkov 96952b
index b48dd76..deb9947 100644
Peter Lemenkov 96952b
--- a/lib/odbc/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/odbc/src/Makefile
Peter Lemenkov 96952b
@@ -109,7 +109,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXT_HRL_FILES) $(RELSYSDIR)/include 
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin	
Peter Lemenkov 96952b
diff --git a/lib/orber/COSS/CosNaming/Makefile b/lib/orber/COSS/CosNaming/Makefile
5d2c88
index 064447f..b464b55 100644
Peter Lemenkov 96952b
--- a/lib/orber/COSS/CosNaming/Makefile
Peter Lemenkov 96952b
+++ b/lib/orber/COSS/CosNaming/Makefile
5d2c88
@@ -144,8 +144,8 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/COSS/CosNaming
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILE) $(RELSYSDIR)/COSS/CosNaming
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_FILES) $(RELSYSDIR)/COSS/CosNaming
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) $(RELSYSDIR)/COSS/CosNaming
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(GEN_EXT_HRL_FILES) $(RELSYSDIR)/COSS/CosNaming
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/orber/src/Makefile b/lib/orber/src/Makefile
5d2c88
index d2e9868..5ff5803 100644
Peter Lemenkov 96952b
--- a/lib/orber/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/orber/src/Makefile
5d2c88
@@ -257,7 +257,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) $(GEN_HRL_FILES_EXT) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/os_mon/src/Makefile b/lib/os_mon/src/Makefile
Peter Lemenkov 96952b
index a492a63..77e7a06 100644
Peter Lemenkov 96952b
--- a/lib/os_mon/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/os_mon/src/Makefile
Peter Lemenkov 96952b
@@ -104,7 +104,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/otp_mibs/src/Makefile b/lib/otp_mibs/src/Makefile
Peter Lemenkov 96952b
index 833a439..257e294 100644
Peter Lemenkov 96952b
--- a/lib/otp_mibs/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/otp_mibs/src/Makefile
Peter Lemenkov 96952b
@@ -95,8 +95,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGETS) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/parsetools/src/Makefile b/lib/parsetools/src/Makefile
Peter Lemenkov 96952b
index 89e079e..1093f4f 100644
Peter Lemenkov 96952b
--- a/lib/parsetools/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/parsetools/src/Makefile
Peter Lemenkov 96952b
@@ -89,8 +89,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/percept/src/Makefile b/lib/percept/src/Makefile
Peter Lemenkov 96952b
index 5dfc725..a8a1718 100644
Peter Lemenkov 96952b
--- a/lib/percept/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/percept/src/Makefile
Peter Lemenkov 96952b
@@ -93,8 +93,6 @@ 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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 #	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 #	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/pman/src/Makefile b/lib/pman/src/Makefile
Peter Lemenkov 96952b
index e573e57..bdbced1 100644
Peter Lemenkov 96952b
--- a/lib/pman/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/pman/src/Makefile
Peter Lemenkov 96952b
@@ -104,7 +104,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(TOOLBOX_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(TOOLBOX_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(TARGET_TOOLBOX_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/public_key/src/Makefile b/lib/public_key/src/Makefile
5d2c88
index 062c495..954bf7c 100644
Peter Lemenkov 96952b
--- a/lib/public_key/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/public_key/src/Makefile
5d2c88
@@ -48,8 +48,6 @@ MODULES = \
Peter Lemenkov 96952b
 
5d2c88
 HRL_FILES = $(INCLUDE)/public_key.hrl 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
-INTERNAL_HRL_FILES = 
Peter Lemenkov 96952b
-
Peter Lemenkov 96952b
 ERL_FILES = $(MODULES:%=%.erl)
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
5d2c88
@@ -102,8 +100,6 @@ $(APPUP_TARGET):	$(APPUP_SRC) ../vsn.mk
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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/reltool/src/Makefile b/lib/reltool/src/Makefile
Peter Lemenkov 96952b
index 4e6a112..cef22b5 100644
Peter Lemenkov 96952b
--- a/lib/reltool/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/reltool/src/Makefile
Peter Lemenkov 96952b
@@ -98,7 +98,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/runtime_tools/src/Makefile b/lib/runtime_tools/src/Makefile
5d2c88
index 946409b..da82d79 100644
Peter Lemenkov 96952b
--- a/lib/runtime_tools/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/runtime_tools/src/Makefile
5d2c88
@@ -93,8 +93,6 @@ 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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/sasl/src/Makefile b/lib/sasl/src/Makefile
Peter Lemenkov 96952b
index 9a5d1e4..4dd511f 100644
Peter Lemenkov 96952b
--- a/lib/sasl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/sasl/src/Makefile
Peter Lemenkov 96952b
@@ -92,7 +92,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/agent/Makefile b/lib/snmp/src/agent/Makefile
Peter Lemenkov 96952b
index a67fe4d..012e8be 100644
Peter Lemenkov 96952b
--- a/lib/snmp/src/agent/Makefile
Peter Lemenkov 96952b
+++ b/lib/snmp/src/agent/Makefile
Peter Lemenkov 96952b
@@ -130,7 +130,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/agent
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src/agent
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/agent
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
Peter Lemenkov 96952b
 		$(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/app/Makefile b/lib/snmp/src/app/Makefile
Peter Lemenkov 96952b
index d89eb4e..2adf916 100644
Peter Lemenkov 96952b
--- a/lib/snmp/src/app/Makefile
Peter Lemenkov 96952b
+++ b/lib/snmp/src/app/Makefile
Peter Lemenkov 96952b
@@ -129,7 +129,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/app
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
Peter Lemenkov 96952b
 		$(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile
64bbd2
index 627af6f..af185bf 100644
Peter Lemenkov 96952b
--- a/lib/snmp/src/compile/Makefile
Peter Lemenkov 96952b
+++ b/lib/snmp/src/compile/Makefile
64bbd2
@@ -122,7 +122,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/compiler
Hans Ulrich Niedermann d00ca9
-	$(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/compiler
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/compiler
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
64bbd2
 	$(INSTALL_DATA) $(EBIN_FILES) $(RELSYSDIR)/ebin
Hans Ulrich Niedermann d00ca9
 	$(INSTALL_DIR) $(RELSYSDIR)/bin
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/manager/Makefile b/lib/snmp/src/manager/Makefile
Peter Lemenkov 96952b
index c1d5703..568530d 100644
Peter Lemenkov 96952b
--- a/lib/snmp/src/manager/Makefile
Peter Lemenkov 96952b
+++ b/lib/snmp/src/manager/Makefile
Peter Lemenkov 96952b
@@ -113,7 +113,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/manager
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src/manager
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/manager
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 # 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/misc/Makefile b/lib/snmp/src/misc/Makefile
Peter Lemenkov 96952b
index 48d76bd..9f1f868 100644
Peter Lemenkov 96952b
--- a/lib/snmp/src/misc/Makefile
Peter Lemenkov 96952b
+++ b/lib/snmp/src/misc/Makefile
Peter Lemenkov 96952b
@@ -111,7 +111,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/misc
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src/misc
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src/misc
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 # 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/ssh/src/Makefile b/lib/ssh/src/Makefile
5d2c88
index da31d87..e08e4e1 100644
Peter Lemenkov 96952b
--- a/lib/ssh/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/ssh/src/Makefile
5d2c88
@@ -141,7 +141,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/ssl/src/Makefile b/lib/ssl/src/Makefile
5d2c88
index dc69b53..63ac81e 100644
Peter Lemenkov 96952b
--- a/lib/ssl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/ssl/src/Makefile
5d2c88
@@ -112,7 +112,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \
Peter Lemenkov 96952b
 	$(APPUP_TARGET) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile
5d2c88
index 90e239b..31cb268 100644
Peter Lemenkov 96952b
--- a/lib/stdlib/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/stdlib/src/Makefile
5d2c88
@@ -199,7 +199,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) erl_parse.yrl $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/syntax_tools/src/Makefile b/lib/syntax_tools/src/Makefile
Peter Lemenkov 96952b
index 50369e6..12c6db4 100644
Peter Lemenkov 96952b
--- a/lib/syntax_tools/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/syntax_tools/src/Makefile
Peter Lemenkov 96952b
@@ -82,8 +82,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(OBJECTS) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
-	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(SOURCES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/test_server/src/Makefile b/lib/test_server/src/Makefile
5d2c88
index 4bc5187..90419de 100644
Peter Lemenkov 96952b
--- a/lib/test_server/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/test_server/src/Makefile
5d2c88
@@ -125,7 +125,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b
diff --git a/lib/toolbar/src/Makefile b/lib/toolbar/src/Makefile
Peter Lemenkov 96952b
index 14e1451..d71e18b 100644
Peter Lemenkov 96952b
--- a/lib/toolbar/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/toolbar/src/Makefile
Peter Lemenkov 96952b
@@ -85,7 +85,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/tools/src/Makefile b/lib/tools/src/Makefile
Peter Lemenkov 96952b
index 360f4f8..22deb2f 100644
Peter Lemenkov 96952b
--- a/lib/tools/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/tools/src/Makefile
Peter Lemenkov 96952b
@@ -106,7 +106,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
Peter Lemenkov 96952b
 		$(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/tv/src/Makefile b/lib/tv/src/Makefile
Peter Lemenkov 96952b
index 457b9d3..1d2c97c 100644
Peter Lemenkov 96952b
--- a/lib/tv/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/tv/src/Makefile
Peter Lemenkov 96952b
@@ -127,7 +127,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/typer/src/Makefile b/lib/typer/src/Makefile
Hans Ulrich Niedermann d00ca9
index 620b3eb..67c266f 100644
Peter Lemenkov 96952b
--- a/lib/typer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/typer/src/Makefile
Hans Ulrich Niedermann d00ca9
@@ -102,8 +102,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(YRL_FILES) \
Hans Ulrich Niedermann d00ca9
-		$(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(INSTALL_FILES) $(RELSYSDIR)/ebin
Hans Ulrich Niedermann d00ca9
 
Peter Lemenkov 96952b
diff --git a/lib/webtool/src/Makefile b/lib/webtool/src/Makefile
Peter Lemenkov 96952b
index 62845cd..841cf11 100644
Peter Lemenkov 96952b
--- a/lib/webtool/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/webtool/src/Makefile
Peter Lemenkov 96952b
@@ -87,8 +87,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
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)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
Peter Lemenkov 96952b
 		$(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/wx/src/Makefile b/lib/wx/src/Makefile
5d2c88
index 4e5971d..888b6f2 100644
Peter Lemenkov 96952b
--- a/lib/wx/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/wx/src/Makefile
5d2c88
@@ -123,9 +123,9 @@ ifeq ($(INSIDE_ERLSRC), true)
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt 
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src/gen
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(GEN_HRL) $(GEN_FILES) $(RELSYSDIR)/src/gen
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(GEN_HRL) $(RELSYSDIR)/src/gen
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(EXT_HRL) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
diff --git a/lib/xmerl/src/Makefile b/lib/xmerl/src/Makefile
Peter Lemenkov 96952b
index 7009b50..c9c7303 100644
Peter Lemenkov 96952b
--- a/lib/xmerl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/xmerl/src/Makefile
Peter Lemenkov 96952b
@@ -218,9 +218,7 @@ release_spec: opt
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(APP_SRC) $(APPUP_SRC) $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) xmerl_xpath_parse.yrl $(RELSYSDIR)/src
Peter Lemenkov 96952b
-	$(INSTALL_DATA) xmerl_b64Bin.yrl $(RELSYSDIR)/src
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src
Peter Lemenkov 96952b
 	$(INSTALL_DIR) $(RELSYSDIR)/include
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/include
Peter Lemenkov 96952b