aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/Makefile
blob: 9f8a3f11945314d63c52662e5361cffab6b8cb20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
include $(ERL_TOP)/make/target.mk
include $(ERL_TOP)/make/$(TARGET)/otp.mk

# ----------------------------------------------------
# Files
# ----------------------------------------------------

AUXILIARY_FILES=\
	dialyzer.spec\
	dialyzer_test_constants.hrl\
	dialyzer_common.erl\
	file_utils.erl\
	plt_SUITE.erl

# ----------------------------------------------------
# Release directory specification
# ----------------------------------------------------

RELSYSDIR = $(RELEASE_PATH)/dialyzer_test

# ----------------------------------------------------
# Release Target
# ----------------------------------------------------

include $(ERL_TOP)/make/otp_release_targets.mk

release_tests_spec:
	$(INSTALL_DIR) "$(RELSYSDIR)"
	chmod -R u+w "$(RELSYSDIR)"
	$(INSTALL_DATA) $(AUXILIARY_FILES) "$(RELSYSDIR)"
	@tar cf - *_SUITE_data | (cd "$(RELSYSDIR)"; tar xf -)
	cd "$(RELSYSDIR)";\
	erlc dialyzer_common.erl file_utils.erl;\
	erl -noshell -run dialyzer_common create_all_suites -s erlang halt