Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #124 from jj1bdx/jj1bdx-dialyzer-fix

Update Makefile and src/Makefile
  • Loading branch information...
commit 5f3ea37b0779ad1da10fd80f913d09fd76964831 2 parents 2ff32fe + 9b86f4a
@klacke authored
Showing with 3 additions and 5 deletions.
  1. +2 −2 Makefile
  2. +1 −3 src/Makefile
View
4 Makefile
@@ -79,7 +79,7 @@ touch:
find . -name '*.erl' -print | xargs touch -m
yaws.plt:
- dialyzer --build_plt -r ebin src --output_plt yaws.plt \
+ dialyzer --build_plt -r ebin --output_plt yaws.plt \
-r $(ERLDIR)/lib/sasl-$(SASL_VSN) \
-r $(ERLDIR)/lib/kernel-$(KERNEL_VSN) \
-r $(ERLDIR)/lib/stdlib-$(STDLIB_VSN) \
@@ -89,7 +89,7 @@ yaws.plt:
# -r $(ERLDIR)/lib/ssl-$(SSL_VSN)
dialyzer: yaws.plt
- -dialyzer -q --plt yaws.plt -r ebin src > dialyzer_warnings
+ -dialyzer -q --plt yaws.plt -r ebin > dialyzer_warnings
diff -U0 known_dialyzer_warnings dialyzer_warnings
.PHONY: test
View
4 src/Makefile
@@ -101,9 +101,7 @@ charset.def:
echo $(DEFAULT_CHARSET) > ../priv/charset.def; \
else rm -f ../priv/charset.def ; touch ../priv/charset.def; fi
-mime_type_c.beam: mime_type_c.erl
-
-mime_types.erl: charset.def mime_type_c.beam
+mime_types.erl: charset.def ../ebin/mime_type_c.beam
$(ERL) -noshell -pa ../ebin -s mime_type_c generate
debug:
Please sign in to comment.
Something went wrong with that request. Please try again.