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
5203c4
Don't install *.erl, *.xrl, *.yrl, and *.asn1 files at all.
5203c4
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
---
61833a
 erts/preloaded/src/Makefile        | 2 --
61833a
 lib/appmon/src/Makefile            | 2 +-
61833a
 lib/asn1/src/Makefile              | 2 +-
61833a
 lib/common_test/src/Makefile       | 2 +-
61833a
 lib/compiler/src/Makefile          | 4 ++--
61833a
 lib/cosEvent/src/Makefile          | 2 +-
61833a
 lib/cosEventDomain/src/Makefile    | 2 +-
61833a
 lib/cosFileTransfer/src/Makefile   | 4 +---
61833a
 lib/cosNotification/src/Makefile   | 3 +--
61833a
 lib/cosProperty/src/Makefile       | 3 +--
61833a
 lib/cosTime/src/Makefile           | 3 +--
61833a
 lib/cosTransactions/src/Makefile   | 2 +-
61833a
 lib/crypto/src/Makefile            | 2 --
61833a
 lib/debugger/src/Makefile          | 2 +-
61833a
 lib/dialyzer/src/Makefile          | 2 +-
61833a
 lib/diameter/src/Makefile          | 7 ++-----
61833a
 lib/edoc/src/Makefile              | 2 +-
61833a
 lib/eldap/src/Makefile             | 4 ----
61833a
 lib/erl_docgen/src/Makefile        | 2 --
61833a
 lib/et/src/Makefile                | 1 -
61833a
 lib/eunit/src/Makefile             | 2 --
61833a
 lib/gs/src/Makefile                | 4 ++--
61833a
 lib/hipe/cerl/Makefile             | 2 +-
61833a
 lib/hipe/flow/Makefile             | 2 +-
61833a
 lib/hipe/icode/Makefile            | 2 +-
61833a
 lib/hipe/main/Makefile             | 2 +-
61833a
 lib/hipe/misc/Makefile             | 2 +-
61833a
 lib/hipe/rtl/Makefile              | 2 +-
70bf32
 lib/hipe/util/Makefile             | 3 ---
61833a
 lib/ic/src/Makefile                | 2 +-
61833a
 lib/inets/src/ftp/Makefile         | 2 +-
61833a
 lib/inets/src/http_client/Makefile | 2 +-
61833a
 lib/inets/src/http_lib/Makefile    | 2 +-
61833a
 lib/inets/src/http_server/Makefile | 2 +-
61833a
 lib/inets/src/inets_app/Makefile   | 2 +-
61833a
 lib/inets/src/tftp/Makefile        | 2 +-
61833a
 lib/inviso/src/Makefile            | 2 --
61833a
 lib/kernel/src/Makefile            | 1 -
61833a
 lib/megaco/src/app/Makefile        | 2 +-
61833a
 lib/megaco/src/binary/Makefile     | 2 +-
61833a
 lib/megaco/src/engine/Makefile     | 2 +-
72d4e1
 lib/megaco/src/flex/Makefile.in    | 2 --
61833a
 lib/megaco/src/tcp/Makefile        | 2 +-
61833a
 lib/megaco/src/text/Makefile       | 2 +-
61833a
 lib/megaco/src/udp/Makefile        | 2 +-
61833a
 lib/mnesia/src/Makefile            | 2 +-
61833a
 lib/observer/src/Makefile          | 1 -
61833a
 lib/odbc/src/Makefile              | 2 +-
61833a
 lib/orber/COSS/CosNaming/Makefile  | 2 +-
61833a
 lib/orber/src/Makefile             | 2 +-
61833a
 lib/os_mon/src/Makefile            | 1 -
61833a
 lib/otp_mibs/src/Makefile          | 2 --
61833a
 lib/parsetools/src/Makefile        | 2 --
61833a
 lib/percept/src/Makefile           | 2 --
61833a
 lib/pman/src/Makefile              | 2 +-
61833a
 lib/public_key/src/Makefile        | 4 ----
61833a
 lib/reltool/src/Makefile           | 2 +-
61833a
 lib/runtime_tools/src/Makefile     | 2 --
0eeae8
 lib/sasl/src/Makefile              | 1 -
61833a
 lib/snmp/src/agent/Makefile        | 2 +-
61833a
 lib/snmp/src/app/Makefile          | 2 +-
61833a
 lib/snmp/src/compile/Makefile      | 2 +-
61833a
 lib/snmp/src/manager/Makefile      | 2 +-
61833a
 lib/snmp/src/misc/Makefile         | 2 +-
61833a
 lib/ssh/src/Makefile               | 2 +-
61833a
 lib/ssl/src/Makefile               | 2 +-
61833a
 lib/stdlib/src/Makefile            | 1 -
61833a
 lib/syntax_tools/src/Makefile      | 2 --
61833a
 lib/test_server/src/Makefile       | 1 -
61833a
 lib/toolbar/src/Makefile           | 2 +-
61833a
 lib/tools/src/Makefile             | 2 +-
61833a
 lib/tv/src/Makefile                | 2 +-
61833a
 lib/typer/src/Makefile             | 3 ---
61833a
 lib/webtool/src/Makefile           | 2 --
61833a
 lib/wx/src/Makefile                | 4 ++--
61833a
 lib/xmerl/src/Makefile             | 4 +---
70bf32
 76 files changed, 57 insertions(+), 112 deletions(-)
Peter Lemenkov 96952b
Peter Lemenkov 96952b
diff --git a/erts/preloaded/src/Makefile b/erts/preloaded/src/Makefile
61833a
index 5bcc2eb..c87dc9e 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: 
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 06e61b7..cae409b 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/asn1/src/Makefile b/lib/asn1/src/Makefile
61833a
index 4bd49aa..b6d4880 100644
Peter Lemenkov 96952b
--- a/lib/asn1/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/asn1/src/Makefile
5203c4
@@ -156,7 +156,7 @@ release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA)  $(ERL_FILES) $(HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples"
61833a
 	$(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
61833a
index f7dce19..ee75f6e 100644
Peter Lemenkov 96952b
--- a/lib/common_test/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/common_test/src/Makefile
61833a
@@ -138,7 +138,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
61833a
index 958d350..312ddfa 100644
Peter Lemenkov 96952b
--- a/lib/compiler/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/compiler/src/Makefile
5203c4
@@ -164,8 +164,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \
61833a
-		$(YRL_FILE) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \
61833a
+		"$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/cosEvent/src/Makefile b/lib/cosEvent/src/Makefile
61833a
index 7787fad..0bf29fb 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 213d433..f1efdac 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index d552349..6aa53b7 100644
Peter Lemenkov 96952b
--- a/lib/cosFileTransfer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/cosFileTransfer/src/Makefile
61833a
@@ -179,9 +179,7 @@ release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
-	$(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
 
61833a
 release_docs_spec:
Peter Lemenkov 96952b
diff --git a/lib/cosNotification/src/Makefile b/lib/cosNotification/src/Makefile
61833a
index decf598..3c3423f 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 54d1b60..25d3d43 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index e8536a3..3872160 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 1d935c4..0dd00c1 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 910e893..2baf92d 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \
61833a
 		$(APPUP_TARGET) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/debugger/src/Makefile b/lib/debugger/src/Makefile
61833a
index e8b350c..85da380 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 63cc1c9..af956d9 100644
Peter Lemenkov 96952b
--- a/lib/dialyzer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/dialyzer/src/Makefile
61833a
@@ -156,7 +156,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \
61833a
 		"$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin"
5d2c88
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile
61833a
index 99c3432..d79b3af 100644
5d2c88
--- a/lib/diameter/src/Makefile
5d2c88
+++ b/lib/diameter/src/Makefile
61833a
@@ -231,11 +231,8 @@ release_spec: opt
5203c4
 	$(MAKE) $(EXAMPLE_DIRS:%/=release_examples_%)
5d2c88
 
5d2c88
 $(TARGET_DIRS:%/=release_src_%): release_src_%:
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src/$*"
5d2c88
-	$(INSTALL_DATA) $(filter $*/%, $(TARGET_MODULES:%=%.erl) \
5d2c88
-	                               $(INTERNAL_HRLS)) \
5d2c88
-	                $(filter $*/%, compiler/$(DICT_YRL).yrl) \
61833a
-	                "$(RELSYSDIR)/src/$*"
5d2c88
+	$(INSTALL_DATA) $(filter $*/%, $(INTERNAL_HRLS)) \
61833a
+	                "$(RELSYSDIR)/src/$*" || true
ebf67f
 
5203c4
 $(EXAMPLE_DIRS:%/=release_examples_%): release_examples_%:
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples/$*"
Peter Lemenkov 96952b
diff --git a/lib/edoc/src/Makefile b/lib/edoc/src/Makefile
61833a
index 72354ac..f6ed199 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(SOURCES) $(HRL_FILES) $(YRL_FILE) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_docs_spec:
Peter Lemenkov 96952b
 
5203c4
diff --git a/lib/eldap/src/Makefile b/lib/eldap/src/Makefile
61833a
index 39a41d0..30b0b17 100644
5203c4
--- a/lib/eldap/src/Makefile
5203c4
+++ b/lib/eldap/src/Makefile
5203c4
@@ -98,10 +98,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
5203c4
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/asn1"
61833a
-	$(INSTALL_DATA) ../asn1/$(ASN1_FILES) "$(RELSYSDIR)/asn1"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include"
5203c4
 
ebf67f
diff --git a/lib/erl_docgen/src/Makefile b/lib/erl_docgen/src/Makefile
61833a
index 6c8b438..5f918a9 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
ebf67f
 
Peter Lemenkov 96952b
diff --git a/lib/et/src/Makefile b/lib/et/src/Makefile
61833a
index c68a3f4..4d8e93f 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
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile
61833a
index 0a2e71c..18db0f4 100644
Peter Lemenkov 96952b
--- a/lib/eunit/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/eunit/src/Makefile
61833a
@@ -117,8 +117,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(PARSE_TRANSFORM_BIN) $(OBJECTS) "$(RELSYSDIR)/ebin"
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(PARSE_TRANSFORM) $(SOURCES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(INCLUDE_DELIVERABLES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/gs/src/Makefile b/lib/gs/src/Makefile
61833a
index 4b7a452..ada9464 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(APP_SRC) $(ERL_FILES) $(HRL_FILES) $(GEN_HRL_FILES) \
61833a
-		$(GSTK_GENERIC) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
+	$(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) \
61833a
+		"$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/priv/bitmap"
Peter Lemenkov 96952b
diff --git a/lib/hipe/cerl/Makefile b/lib/hipe/cerl/Makefile
61833a
index 506e993..d74b75c 100644
Peter Lemenkov 96952b
--- a/lib/hipe/cerl/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/cerl/Makefile
5203c4
@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/cerl"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/cerl"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/cerl"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/flow/Makefile b/lib/hipe/flow/Makefile
61833a
index 75e156b..5e394ca 100644
Peter Lemenkov 96952b
--- a/lib/hipe/flow/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/flow/Makefile
5203c4
@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/flow"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/icode/Makefile b/lib/hipe/icode/Makefile
61833a
index 0f2d6db..4e267f9 100644
Peter Lemenkov 96952b
--- a/lib/hipe/icode/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/icode/Makefile
5203c4
@@ -119,7 +119,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/icode"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/icode"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/icode"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/main/Makefile b/lib/hipe/main/Makefile
61833a
index 673431a..c372a37 100644
Peter Lemenkov 96952b
--- a/lib/hipe/main/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/main/Makefile
5203c4
@@ -117,7 +117,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DATA) ../vsn.mk "$(RELSYSDIR)"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/main"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/main"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/main"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/misc/Makefile b/lib/hipe/misc/Makefile
61833a
index 16166f5..0ba5845 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/misc"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/misc"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/misc"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/rtl/Makefile b/lib/hipe/rtl/Makefile
61833a
index 426d1bd..44238b9 100644
Peter Lemenkov 96952b
--- a/lib/hipe/rtl/Makefile
Peter Lemenkov 96952b
+++ b/lib/hipe/rtl/Makefile
5203c4
@@ -104,7 +104,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/rtl"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/rtl"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/rtl"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/hipe/util/Makefile b/lib/hipe/util/Makefile
70bf32
index a5ee232..f03e41d 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)
70bf32
@@ -103,8 +102,6 @@ $(DOCS)/%.html:%.erl
70bf32
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
70bf32
-	$(INSTALL_DIR) "$(RELSYSDIR)/util"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/util"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/ic/src/Makefile b/lib/ic/src/Makefile
61833a
index 280d86a..3cd19f4 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples/c-client"
61833a
 	$(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
61833a
index 2c3d2b6..de0450e 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
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/ftp"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/ftp"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/ftp"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index f0d4ce1..35c4ffc 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
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/http_client"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_client"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_client"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 51167b3..a623824 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
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/http_lib"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_lib"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_lib"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 67555d5..0620f3a 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/http_server/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/http_server/Makefile
5203c4
@@ -125,7 +125,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/http_server"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_server"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_server"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 7d68145..71885ef 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/inets_app/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/inets_app/Makefile
5203c4
@@ -113,7 +113,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/inets_app"
61833a
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/inets_app"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/inets_app"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/inets/src/tftp/Makefile b/lib/inets/src/tftp/Makefile
61833a
index b368b12..5eddaf0 100644
Peter Lemenkov 96952b
--- a/lib/inets/src/tftp/Makefile
Peter Lemenkov 96952b
+++ b/lib/inets/src/tftp/Makefile
61833a
@@ -95,7 +95,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/tftp"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/tftp"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/tftp"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(BEHAVIOUR_TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/inviso/src/Makefile b/lib/inviso/src/Makefile
61833a
index 292a2be..b1c9a1f 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 #	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 #	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/kernel/src/Makefile b/lib/kernel/src/Makefile
61833a
index c76ff9e..7706204 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/app/Makefile b/lib/megaco/src/app/Makefile
61833a
index 42030c5..282419f 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
61833a
 	$(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/app"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/app"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/app"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 695599b..187ccac 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
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/binary"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(ASN1_FILES) "$(RELSYSDIR)/src/binary"
61833a
+	$(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
61833a
index 7cecef1..841a88a 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/engine/Makefile
Peter Lemenkov 96952b
+++ b/lib/megaco/src/engine/Makefile
61833a
@@ -101,7 +101,7 @@ release_spec: opt
61833a
 	$(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/engine"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/engine"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/engine"
61833a
 	$(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
72d4e1
index b36ef26..2e748fe 100644
Peter Lemenkov 96952b
--- a/lib/megaco/src/flex/Makefile.in
Peter Lemenkov 96952b
+++ b/lib/megaco/src/flex/Makefile.in
72d4e1
@@ -276,8 +276,6 @@ release_spec: opt
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/flex"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/priv/lib"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/include"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/flex"
72d4e1
-	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
61833a
 	$(INSTALL_DATA) $(FLEX_FILES) "$(RELSYSDIR)/src/flex"
72d4e1
 	$(INSTALL_PROGRAM) $(SOLIBS) "$(RELSYSDIR)/priv/lib"
Peter Lemenkov 96952b
diff --git a/lib/megaco/src/tcp/Makefile b/lib/megaco/src/tcp/Makefile
61833a
index 0c30aba..aa553ff 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
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/tcp"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/tcp"
61833a
+	$(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
61833a
index cab4256..d5cf217 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
61833a
 	$(INSTALL_DATA) $(BEAM_TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/text"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_YRL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/text"
61833a
+	$(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
61833a
index 9486804..ea4830c 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
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR)  "$(RELSYSDIR)/src/udp"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/udp"
61833a
+	$(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
61833a
index 6f28943..ead350f 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile
61833a
index 7135a6a..c8e78e6 100644
Peter Lemenkov 96952b
--- a/lib/observer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/observer/src/Makefile
5203c4
@@ -130,7 +130,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples"
61833a
 	$(INSTALL_DATA) $(EXAMPLE_FILES) "$(RELSYSDIR)/examples"
Peter Lemenkov 96952b
diff --git a/lib/odbc/src/Makefile b/lib/odbc/src/Makefile
61833a
index 2af65cc..2358d16 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(EXT_HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/orber/COSS/CosNaming/Makefile b/lib/orber/COSS/CosNaming/Makefile
61833a
index 769c08a..9906247 100644
Peter Lemenkov 96952b
--- a/lib/orber/COSS/CosNaming/Makefile
Peter Lemenkov 96952b
+++ b/lib/orber/COSS/CosNaming/Makefile
61833a
@@ -144,7 +144,7 @@ release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/COSS/CosNaming"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/COSS/CosNaming"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/COSS/CosNaming"
61833a
 	$(INSTALL_DATA) $(GEN_FILES) "$(RELSYSDIR)/COSS/CosNaming"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/orber/src/Makefile b/lib/orber/src/Makefile
61833a
index 72610de..a800d2f 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(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
61833a
index 79a4076..1197250 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/otp_mibs/src/Makefile b/lib/otp_mibs/src/Makefile
61833a
index 03298d3..83b2e05 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGETS) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/parsetools/src/Makefile b/lib/parsetools/src/Makefile
61833a
index 4f199da..bffd62f 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/percept/src/Makefile b/lib/percept/src/Makefile
61833a
index 253a8c2..6720c05 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 #	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 #	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/pman/src/Makefile b/lib/pman/src/Makefile
61833a
index fa01fe7..5197f4b 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index d5cd13d..d2a35f8 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/reltool/src/Makefile b/lib/reltool/src/Makefile
61833a
index a7e3405..3705dd9 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 810e3e8..b529c92 100644
Peter Lemenkov 96952b
--- a/lib/runtime_tools/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/runtime_tools/src/Makefile
5203c4
@@ -99,8 +99,6 @@ docs:
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/examples"
Peter Lemenkov 96952b
diff --git a/lib/sasl/src/Makefile b/lib/sasl/src/Makefile
0eeae8
index de0c45e..58c2ecb 100644
Peter Lemenkov 96952b
--- a/lib/sasl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/sasl/src/Makefile
0eeae8
@@ -92,7 +92,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/agent/Makefile b/lib/snmp/src/agent/Makefile
61833a
index beed696..752072d 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/agent"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/agent"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/agent"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
61833a
 		"$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/app/Makefile b/lib/snmp/src/app/Makefile
61833a
index f7c311b..59d68b8 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/app"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/app"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/app"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
61833a
 		"$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile
61833a
index f63fc18..9759451 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/compiler"
61833a
-	$(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(EBIN_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/bin"
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/manager/Makefile b/lib/snmp/src/manager/Makefile
61833a
index c76dbac..548823a 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/manager"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/manager"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/manager"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 # 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/snmp/src/misc/Makefile b/lib/snmp/src/misc/Makefile
61833a
index 698c341..3344a0c 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/misc"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/misc"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/misc"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 # 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/ssh/src/Makefile b/lib/ssh/src/Makefile
61833a
index b8eecd3..41bf50c 100644
Peter Lemenkov 96952b
--- a/lib/ssh/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/ssh/src/Makefile
61833a
@@ -133,7 +133,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) $(APP_TARGET) \
61833a
 	$(APPUP_TARGET) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/ssl/src/Makefile b/lib/ssl/src/Makefile
61833a
index c5c5bf5..a7ac1aa 100644
Peter Lemenkov 96952b
--- a/lib/ssl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/ssl/src/Makefile
61833a
@@ -123,7 +123,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) $(APP_TARGET) \
61833a
 	$(APPUP_TARGET) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile
61833a
index 1430482..d217c2d 100644
Peter Lemenkov 96952b
--- a/lib/stdlib/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/stdlib/src/Makefile
61833a
@@ -200,7 +200,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) erl_parse.yrl "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/syntax_tools/src/Makefile b/lib/syntax_tools/src/Makefile
61833a
index dca5e78..6a65bfe 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin"
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(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
61833a
index 513720d..09766b1 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b
diff --git a/lib/toolbar/src/Makefile b/lib/toolbar/src/Makefile
61833a
index 102970a..bdf63b5 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/tools/src/Makefile b/lib/tools/src/Makefile
61833a
index abe1389..e5e4874 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
61833a
 		"$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/tv/src/Makefile b/lib/tv/src/Makefile
61833a
index da1713e..4436ac7 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
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
diff --git a/lib/typer/src/Makefile b/lib/typer/src/Makefile
61833a
index 1f94d8f..751e76e 100644
Peter Lemenkov 96952b
--- a/lib/typer/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/typer/src/Makefile
61833a
@@ -101,9 +101,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
61833a
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 
Peter Lemenkov 96952b
 release_spec: opt
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
Peter Lemenkov 96952b
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(YRL_FILES) \
61833a
-		"$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(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
61833a
index 783ffad..37135d3 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
61833a
-	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
 	$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \
61833a
 		"$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/wx/src/Makefile b/lib/wx/src/Makefile
61833a
index 777fb7d..f6a5a2a 100644
Peter Lemenkov 96952b
--- a/lib/wx/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/wx/src/Makefile
5203c4
@@ -121,9 +121,9 @@ $(EBIN)/%.beam: $(EGEN)/%.erl $(HEADER_FILES)
Peter Lemenkov 96952b
 include $(ERL_TOP)/make/otp_release_targets.mk
Peter Lemenkov 96952b
 release_spec: opt 
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src/gen"
61833a
-	$(INSTALL_DATA) $(GEN_HRL) $(GEN_FILES) "$(RELSYSDIR)/src/gen"
61833a
+	$(INSTALL_DATA) $(GEN_HRL) "$(RELSYSDIR)/src/gen"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(EXT_HRL) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
Peter Lemenkov 96952b
diff --git a/lib/xmerl/src/Makefile b/lib/xmerl/src/Makefile
61833a
index ce1aa11..b381ce6 100644
Peter Lemenkov 96952b
--- a/lib/xmerl/src/Makefile
Peter Lemenkov 96952b
+++ b/lib/xmerl/src/Makefile
5203c4
@@ -217,9 +217,7 @@ release_spec: opt
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) xmerl_xpath_parse.yrl "$(RELSYSDIR)/src"
61833a
-	$(INSTALL_DATA) xmerl_b64Bin.yrl "$(RELSYSDIR)/src"
61833a
+	$(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
61833a
 	$(INSTALL_DIR) "$(RELSYSDIR)/include"
61833a
 	$(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
Peter Lemenkov 96952b