aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-03 23:50:02 +0200
committerLoïc Hoguin <[email protected]>2015-09-03 23:50:02 +0200
commitc03827005fb3210c294d9a41c51aa565771fd76e (patch)
treefc8b109a2ef3d62aec66832bedad3bd0db9be77e /core/erlc.mk
parent5d0834bd9dd6507e08d19de9b0b507d528efa7ac (diff)
downloaderlang.mk-c03827005fb3210c294d9a41c51aa565771fd76e.tar.gz
erlang.mk-c03827005fb3210c294d9a41c51aa565771fd76e.tar.bz2
erlang.mk-c03827005fb3210c294d9a41c51aa565771fd76e.zip
Fix bug where intermediate files from .asn1 wouldn't get cleaned
Dirty, dirty files!
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index e540f38..796ad85 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -215,7 +215,7 @@ clean:: clean-app
clean-app:
$(gen_verbose) rm -rf $(PROJECT).d ebin/ priv/mibs/ $(XRL_ERL_FILES) $(YRL_ERL_FILES) \
- $(addprefix include/,$(patsubst %.mib,.hrl,$(notdir $(MIB_FILES)))) \
- $(addprefix include/,$(patsubst %.asn1,.hrl,$(notdir $(ASN1_FILES)))) \
- $(addprefix include/,$(patsubst %.asn1,.asn1db,$(notdir $(ASN1_FILES)))) \
- $(addprefix src/,$(patsubst %.erl,.asn1db,$(notdir $(ASN1_FILES))))
+ $(addprefix include/,$(patsubst %.mib,%.hrl,$(notdir $(MIB_FILES)))) \
+ $(addprefix include/,$(patsubst %.asn1,%.hrl,$(notdir $(ASN1_FILES)))) \
+ $(addprefix include/,$(patsubst %.asn1,%.asn1db,$(notdir $(ASN1_FILES)))) \
+ $(addprefix src/,$(patsubst %.asn1,%.erl,$(notdir $(ASN1_FILES))))