aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-10 09:38:00 +0200
committerBjörn Gustavsson <[email protected]>2013-09-18 11:45:00 +0200
commit973fae5673fee766fd5477fbf3663b2722cab9d7 (patch)
tree6cc085f4db4b31fe1a337e7c199d0e82da35f6e7 /lib/asn1
parent84836ff4cee2b1f05d796bb327d0c5138553f6ec (diff)
downloadotp-973fae5673fee766fd5477fbf3663b2722cab9d7.tar.gz
otp-973fae5673fee766fd5477fbf3663b2722cab9d7.tar.bz2
otp-973fae5673fee766fd5477fbf3663b2722cab9d7.zip
Makefile: Release Emakefile to ensure warnings are treated as errors
The generated Emakefile was not copied when releasing the test suites, which meant that the suites were compiled with default options (without the 'warnings_as_errors' option in the generated Emakefile). While at it, eliminate left-over dependecies.
Diffstat (limited to 'lib/asn1')
-rw-r--r--lib/asn1/test/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/asn1/test/Makefile b/lib/asn1/test/Makefile
index 0bbb9e68b6..2d809c254d 100644
--- a/lib/asn1/test/Makefile
+++ b/lib/asn1/test/Makefile
@@ -116,8 +116,6 @@ MODULES= \
asn1_SUITE \
error_SUITE
-SUITE= asn1_SUITE.erl
-
ERL_FILES= $(MODULES:%=%.erl)
HRL_FILES= External.hrl
@@ -142,7 +140,7 @@ EBIN = .
$(EMAKEFILE): $(ERL_FILES) $(HRL_FILES)
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES) $(ERL_FILES) >$(EMAKEFILE)
-tests debug opt: $(SUITE) $(SUITE_BIN) $(SUITE_BIN_V2) $(EMAKEFILE)
+tests debug opt: $(EMAKEFILE)
clean:
rm -f core
@@ -159,7 +157,7 @@ release_spec: opt
release_tests_spec: opt
$(INSTALL_DIR) "$(RELSYSDIR)"
$(INSTALL_DIR) "$(RELSYSDIR)/asn1_SUITE_data"
- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)"
+ $(INSTALL_DATA) $(EMAKEFILE) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)"
$(INSTALL_DATA) asn1.spec asn1.cover $(INSTALL_PROGS) "$(RELSYSDIR)"
chmod -R u+w "$(RELSYSDIR)"
cd asn1_SUITE_data; tar cfh "$(RELSYSDIR)/asn1_SUITE_data.tar" *